LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Can I permanently lock a user account with pam_tally ? (https://www.linuxquestions.org/questions/linux-security-4/can-i-permanently-lock-a-user-account-with-pam_tally-667298/)

dmak168 09-03-2008 09:25 AM

Can I permanently lock a user account with pam_tally ?
 
Hi,

I try to lock out an user account permanently with pam_tally if the predefined max. unsuccessful login attemp reached, I understand 'unlock_time' can take seconds as input but I don't know what's the max value I can use and also is wondering can I use something like -1 to indicate lock out forever ?

p.s. I understand there are other commands such as 'passwd -l user_id' can do the job but I just want to know if pam_tally can to it.

Thanks,
David

brianmcgee 09-04-2008 12:54 AM

See http://kbase.redhat.com/faq/FAQ_44_4047.shtm

dmak168 09-04-2008 02:40 PM

I guess I was asking a very stupid question ... just remove the 'unlock_time' option from pam_tally will lock out user permanently :)

Thanks
David


All times are GMT -5. The time now is 11:13 AM.