linux user account log in

Where can I find out about a particular user's account log in history ?
aasheeAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Jerry MillerConnect With a Mentor Commented:

Open a terminal window which is found under the "System Tools," "Utilities" or "Accessories" section of the main menu depending on your distribution.

Type the command "last" to see the login history of all users.

Type the command "last <username>" to see the login history of a single user. Replace "<username>" with the username for the particular user.

Type the command "last -a" to see the login history along with the IP address of the computer the user logged in from (the user's local computer).

Type the command "exit" to close the terminal window.

From: http://www.ehow.com/how_6386662_linux-login-history.html
0
 
JackSperowConnect With a Mentor Commented:
If you want to see any perticuler user login history then go into your console and type simple command
#last -a | grep "username"
this command will show you when this user was loged in and from which ip he was..
Two files are basically used for this command:
/var/log/wtmp
/var/log/btmp

you can try also with
#lastlog
0
 
Monis MontherConnect With a Mentor System ArchitectCommented:
Another tip is the command

lastb

this would show you failed logins
0
All Courses

From novice to tech pro — start learning today.