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. |
From the logrotated ones?
|
Hi,
did you try with Code:
[root@host /root]#lastlog | more Bye David |
You should be able to read from the logrotated wtmp file using last -f /the_rotated_file.
|
/var/log/auth.log|less (for debian)
|
All times are GMT -5. The time now is 07:43 PM. |