Where to find the user log?
I have a mandrake linux box which operates as a web server. I created a login on it for myself and 2 friends. Now I'm searching for the file that hold the log of all login/logout actions. Where do I find this log file?
TIA, Kamil |
On my RedHat and slackware systems it logs logins in /var/log/messages
I guess you are talking about logins from ssh or the console. |
There is no such directory on my box...I already went through the /var/log dir course it seemed like a logical place to me.
And the log I'm looking for are of all user logins. Preferably local and remote. Kamil |
Theres not a file called messages in /var/log/ ? Hhhmmm strange. Take a look in all the log files in /var/log maybe your distro names them different.
|
/var/log/messages sometimes goes by /ver/log/syslog, but really I think you're looking for /var/log/lastlog, which you can look through with the simple command: "last"
RH I know does a monthly rotate on the lastlog which Deb and Slack just let it run on forever. My guess is Mandy rotates it, but there has to be an easy tool to configure that. The rotated out version is probably somewhere in /var/log just compressed. Cheers, Finegan |
All times are GMT -5. The time now is 07:49 AM. |