LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Set account lockout without using pam (https://www.linuxquestions.org/questions/linux-security-4/set-account-lockout-without-using-pam-688033/)

HelpMe2877 12-03-2008 10:33 AM

Set account lockout without using pam
 
Is there any way to set failed login attempts to lock the user without going through /etc/pam.d/*?

TB0ne 12-03-2008 11:33 AM

Quote:

Originally Posted by HelpMe2877 (Post 3363122)
Is there any way to set failed login attempts to lock the user without going through /etc/pam.d/*?

Yes...check the man page for passwd, I believe it's the "-l" option.

HelpMe2877 12-03-2008 01:50 PM

and i can set the account to lock itself after say 3 or 5 failed login attempts using passwd?

hasanatizaz 12-03-2008 02:01 PM

i think only pam can do this.

HelpMe2877 12-03-2008 03:05 PM

ok, thanks for the advice. i'll try to do a little more searching on the subject and if i find anything that might be useful i'll be sure to post it


All times are GMT -5. The time now is 08:31 PM.