You are not logged in.
When I used Slax, back quite a few years (Slax was my first distro, on a Windows 98), I saw this feature which I thought was absolutely awesome, and it was this: upon logging on, it showed you the amount of times there had been a failed login... if you know what I mean. Anyway, the question is this, how can you do that in Arch? (Or can you not, without great difficulty?)
Thanks
Offline
The information about failed logins is in /var/log/auth.log, so I guess you just need to parse the information. There might be some script out there...
EDIT: there's much better way "faillog -u <user>" as root.
Last edited by bender02 (2008-04-19 19:56:17)
Offline
Ok, I have done some more research on this and these are some useful pages that I have found:
http://www.cyberciti.biz/tips/rhel-cent … login.html
I'll post again when I come across a nice way to put it in the login message.
Offline
ssh does this afaik, or at least it shows you the last login, so maybe you could copy their way, I don't know quite how they do it though, check the code maybe.
Offline