LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 02-14-2006, 08:48 AM   #1
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Rep: Reputation: 30
Finding valid and invalid logins


We have a box at work here that's been running for the past two years. However, in /var/log/messages (and message.1, message.2, etc) there is nothing showing logins from before the last 2 months. Anyone know why this is? I would like to be able to find login information over at least the last 60 days. Anyone have an idea of how I can find this information?
 
Old 02-14-2006, 09:16 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

You could try the last command.

It does depend on /var/log/wtmp, see man last for details.

Hope this helps.
 
  


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
squirremail ...it says invalid user or invalid password. rnj Fedora 9 10-25-2004 09:56 PM
Alert for logins sachinh Linux - General 1 08-30-2004 07:05 AM
Automatic logins Superdude Linux - Software 1 01-10-2004 01:55 PM
User Logins TerminalPhreak Linux - Newbie 3 02-28-2003 01:56 PM
Redhat 7.2 Logins bbenz3 Linux - General 3 03-20-2002 04:35 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration