Solved

linux user account log in

Posted on 2011-02-16
3
1,109 Views
Last Modified: 2013-12-06
Where can I find out about a particular user's account log in history ?
0
Comment
Question by:aashee
3 Comments
 
LVL 18

Accepted Solution

by:
Jerry Miller earned 167 total points
ID: 34913195

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
 
LVL 1

Assisted Solution

by:JackSperow
JackSperow earned 167 total points
ID: 34914057
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
 
LVL 14

Assisted Solution

by:small_student
small_student earned 166 total points
ID: 34914449
Another tip is the command

lastb

this would show you failed logins
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question