Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-26-2003, 10:24 PM   #1
Registered: Dec 2001
Location: Richmond, VA
Posts: 391

Rep: Reputation: 30
Login logs...

Does anyone know where the system keeps logs of user logins? Both through the system itself and SSH if possible. Thanks.
Old 06-26-2003, 10:57 PM   #2
LQ Newbie
Registered: Jun 2003
Distribution: RH9, Gentoo, Slack
Posts: 23

Rep: Reputation: 15
You might try using the last command to see a list of the logins for the past month (with most distributions). The actual log file that is used for the last listing is /var/log/wtmp.

Also, many distributions archive the monthly logs. So if you see files such as /var/log/wtmp.1 /var/log/wtmp.2 and so on, these are typically logs from previous months. To access thes logs you can use the command:

last -f /path/to/file/filename


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stale login entries in utmp/wtmp (even after user logs out) dmadhava Linux - General 1 03-04-2009 09:18 AM
Somone please help, ive tryed everthing. Only logs in as root, Wont login as user. blackspade Linux - Security 2 08-05-2005 10:39 AM
cyrus denies login and reports "no mechanism available" in logs tisource Linux - Networking 0 04-20-2005 10:44 PM
What logs to check for attempted login attempts htmlcoder Linux - Security 2 03-05-2005 11:21 PM
Stale login entries in utmp/wtmp (even after user logs out) dmadhava Linux - General 0 05-19-2004 10:29 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration