Results 1 to 4 of 4
how can i view the contents of the lastlog file? i opened it with a text editor and all i can see are garbled texts. it seems the file is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-15-2005 #1Just Joined!
- Join Date
- Dec 2005
- Posts
- 10
lastlog and faillog
how can i view the contents of the lastlog file? i opened it with a text editor and all i can see are garbled texts. it seems the file is binary (i may be wrong). what application must i use to see its contents?
also, i can't find faillog in the /var/log/ or anywhere in the system. i'm quite sure i enabled logging of failed logons in the login.defs. any idea here?
- 12-15-2005 #2
What distro?
You should be able to use thecommand.Code:lastlog
PAM should log failed logins to /var/log/messages; they will look something likeCode:... error: PAM: Authentication failure
- 12-16-2005 #3Just Joined!
- Join Date
- Dec 2005
- Posts
- 10
yes i found out it should be run and not opened with a text editor.
Originally Posted by anomie
i'm using debian sarge.
i checked the /var/log/messages file, it contains system logs pertaining to boot up and none for failed logs. any more ideas?
- 12-16-2005 #4
Unfortunately I do not know debian. Surely there is an expert hanging around who can help.


Reply With Quote
