LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-26-2003, 11:24 PM   #1
AMDPwred
Member
 
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, 11:57 PM   #2
slizadel
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
 
  


Reply


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 10:18 AM
Somone please help, ive tryed everthing. Only logs in as root, Wont login as user. blackspade Linux - Security 2 08-05-2005 11:39 AM
cyrus denies login and reports "no mechanism available" in logs tisource Linux - Networking 0 04-20-2005 11:44 PM
What logs to check for attempted login attempts htmlcoder Linux - Security 2 03-06-2005 12:21 AM
Stale login entries in utmp/wtmp (even after user logs out) dmadhava Linux - General 0 05-19-2004 11:29 AM


All times are GMT -5. The time now is 04:37 PM.

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