Results 1 to 3 of 3
Hi,
for a audit script I'm developing, I'd like to get a summary of
failed local user login attempts (not sshd failed logins) (wrong password,
user does not exist).
They ...
- 08-23-2007 #1Just Joined!
- Join Date
- Aug 2005
- Posts
- 99
Audit failed local user login
Hi,
for a audit script I'm developing, I'd like to get a summary of
failed local user login attempts (not sshd failed logins) (wrong password,
user does not exist).
They are not logged in /var/log/messages
Is there a log file or a command for this?
Thanks,
Marinus.
- 08-24-2007 #2
Try
lastb(1): of last logged in users - Linux man pageCode:lastb -f /var/log/btmp
Brilliant Mediocrity - Making Failure Look Good
- 08-24-2007 #3Just Joined!
- Join Date
- Aug 2005
- Posts
- 99
Hi Vergil,
yes that works on Debian but..
do you know a Linux wide equivalent? This script will be deployed to various distributions and for example on SuSE /var/log/btmp is not available.
Even if you create it and set the right permissions it is not written to.
Marinus.


Reply With Quote
