LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-04-2009, 10:55 AM   #1
mike2008
LQ Newbie
 
Registered: Apr 2009
Posts: 7

Rep: Reputation: 0
How to find who logged for the past week?


I used the 'last' command to find out who logged in, but it only shows individuals from this morning. wtmp begins this morning.

How can I find all the individuals who logged on to the server from the past week?

Thanks.
 
Old 05-04-2009, 11:10 AM   #2
*******
Member
 
Registered: Feb 2009
Posts: 63

Rep: Reputation: 16
From the logrotated ones?
 
Old 05-04-2009, 11:18 AM   #3
kandiru
Member
 
Registered: Mar 2009
Location: Genoa, Italy
Distribution: Slackware
Posts: 33

Rep: Reputation: 16
Hi,

did you try with

Code:
[root@host /root]#lastlog | more
command ?

Bye

David
 
Old 05-04-2009, 12:09 PM   #4
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
You should be able to read from the logrotated wtmp file using last -f /the_rotated_file.
 
Old 05-04-2009, 09:17 PM   #5
mike11
Member
 
Registered: Apr 2009
Posts: 222

Rep: Reputation: 17
/var/log/auth.log|less (for debian)
 
  


Reply



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
Can I find out when and for how long a user was logged on? davidstvz Linux - Newbie 2 02-27-2009 12:28 PM
VNC Server: How to find who's currently logged in, and their IP addresses? concoran Linux - Software 7 05-12-2008 06:12 PM
How to find out where else I'm logged in x42bn6 Linux - Newbie 2 04-17-2008 09:06 PM
how to find who logged in a month mokku Linux - Newbie 2 02-19-2008 01:57 PM
How to find hosts that users are logged into jtoddman Linux - Networking 0 11-14-2004 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration