Solved

linux user account log in

Posted on 2011-02-16
3
1,113 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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:Monis Monther
Monis Monther earned 166 total points
ID: 34914449
Another tip is the command

lastb

this would show you failed logins
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

631 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