Solved

linux user account log in

Posted on 2011-02-16
3
1,102 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now