How To Find The Last Person Who Log Into Linux

RegisterLogin
How To Find The Last Person Who Log Into Linux
Post Description: i want to know how i can find out who the last person who logged into my webune linux dedicated server was. show me about checking for the last persons who logged in on my unix server
Tags: how, to, find, the, last, person, who, log, into, linux
This Post Was Posted On Apr 21, 2010 By Jamespl #3412
i want to know how i can find out who the last person who logged into my Webune Linux Dedicated Server was...

i suspect that an ex-employee still using their account after the password was changed. so no i need to check

show me about checking for the last persons who logged in on my unix server
Leave Your Comments
webune
#3845 1
use the last command
NAME
       last, lastb - show listing of last logged in users

SYNOPSIS
       last  [-R]  [-num]  [  -n  num  ]  [-adiox]  [ -f file ] [ -t YYYYMMDDHHMMSS ] [name...]
       [tty...]
       lastb [-R] [-num] [ -n num ] [ -f file ] [-adiox] [name...]  [tty...]

DESCRIPTION
       Last searches back through the file /var/log/wtmp (or the  file  designated  by  the  -f
       flag)  and displays a list of all users logged in (and out) since that file was created.
       Names of users and ttyâs can be given, in which case last will show only  those  entries
       matching  the  arguments.   Names of ttys can be abbreviated, thus last 0 is the same as
       last tty0.

       When last catches a SIGINT signal (generated by the interrupt key, usually control-C) or
       a  SIGQUIT signal (generated by the quit key, usually control-\), last will show how far
       it has searched through the file; in the case of the SIGINT signal last will then termi-
       nate.

       The  pseudo user reboot logs in each time the system is rebooted.  Thus last reboot will
       show a log of all reboots since the log file was created.

       Lastb is the same as  last,  except  that  by  default  it  shows  a  log  of  the  file
       /var/log/btmp, which contains all the bad login attempts.
Apr 21, 2010 Reply Report abuse
©2011 Webune Forums - Wed Dec 21, 2011 12:53 am
Powered by: Webune Forums V3