Possible? User auto-lockout after failed num of logins via X
I'm on Ubuntu Hoary 5.04. I need to have the following feature to control the amount of time a user can logon to the system. For example, after 3 hours the system would warn that its logging out in 5 mins and the boots the user to the login screen and not let the user login again till maybe the next day or a new password is made.
Another howto I'm looking for is one where it will lock out the particular user for an hour or 2 if he/she tries to attempt to crack any OTHER user's password.
Is it possible? Anyone know of any HOWTOs?
Thanks a lot peeps!