Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
where to find logs for getting info who login

where to find logs for getting info who login

2007-01-22       - By Rick Stevens

 Back
Reply:     1     2     3     4  

On Sun, 2007-01-21 at 23:29 -0500, jason zeng wrote:
> Hi, Cameron,
>
> Thanks for your prompt response. I still has problem, please help.
>
> I go to /usr/log, only found wtmp.1, and I could not use vi to see it,
> what should I need to do next? if the files deleted by someone who
> made mistake, can I get it back ?

wtmp is a binary file.  vi can't handle it.  Try

  last -f /var/log/wtmp.1

by default, "last" tries to use /var/log/wtmp, however you can tell it
which file to use by using "-f /path/to/wtmp/file/to/use".  Reading the
man page for "last" ("man last") for details.


>
> Thanks.
>
> Regards,
> Jason Zeng
>
> Cameron Simpson <cs@(protected)> wrote:
>         On 21Jan2007 18:32, jason zeng  wrote:
>         | I am not familiar with RedHat Linux logs, and I am
>         encountering a problem
>         | that our important files disappeared. So I want to know WHO
>         made this? How
>         | can I get info about who login and when, Could I find a way
>         to recover the
>         | files? it is possible?
>        
>         The wtmp file is the traditional place. The "last" command
>         lists recent
>         logins for you.
>         --
>         Cameron Simpson  DoD#743
>         http://www.cskk.ezoshosting.com/cs/
>        
>         Printer not ready.
>         Could be a fatal error.
>         Have a pen handy?
>         - Haiku Error Messages
>         http://www.salonmagazine.com/21st/chal/1998/02/10chal2.html
>        
>         __ ____ ____ ____ ____ ____ ____ ____ ____ ____
>         Redhat-install-list mailing list
>         Redhat-install-list@(protected)
>         https://www.redhat.com/mailman/listinfo/redhat-install-list
>         To Unsubscribe Go To ABOVE URL or send a message to:
>         redhat-install-list-request@(protected)
>         Subject: unsubscribe
>
>
>
>
> __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
> Be smarter than spam. See how smart SpamGuard is at giving junk email
> the boot with the All-new Yahoo! Mail  
> __ ____ ____ ____ ____ ____ ____ ____ ____ ____
> Redhat-install-list mailing list
> Redhat-install-list@(protected)
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request@(protected)
> Subject: unsubscribe
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
- Rick Stevens, Senior Systems Engineer     rstevens@(protected) -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-    "Hello. My PID is Inigo Montoya.  You `kill -9'-ed my parent    -
-                     process.  Prepare to vi."                      -
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe