1- After 3 login attempt , is it possible that account should be automatically getting locked.
Pam_tally
2- Login id to be set at least 6 characters.
3- Force the passwd to contain combination of alphanumeric + special characters.
Pam_cracklib or Solar Designer's pam module for industrial strength rules.
4- Enable mailx from the server .
Isn't a security question, please add a new thread for this in Linux - General or like that. Make sure you elaborate on what you need, what you want and what went wrong when you tried stuff (configs, logs etc etc).
what the best way? ofcourse PAM tally or cracklib should be used. I could only solve it partially.
That's what I mean. The more information (configs, logs, etc etc) you give up front, the easier it is for any of us to help you.
|