Operating System - HP-UX
1836462 Members
2033 Online
110101 Solutions
New Discussion

Re: locking accounts after 3 unsuccessful login attempts

 
Mike_Ca Li
Regular Advisor

locking accounts after 3 unsuccessful login attempts

Hi:
How can the above the accomplished? I read that PAM can be configured to do so, but can it be done via a script?
Thanks.
4 REPLIES 4
Sundar_7
Honored Contributor

Re: locking accounts after 3 unsuccessful login attempts

If your system is trusted then you can set the system wide umaxlntr to lock the accounts.

# /usr/lbin/modprdef -m umaxlntr=3

With the above command, user's account will be locked after 3 unsuccessful attempts.

You cannot configure an untrusted system to lock the user accounts after unsuccessful tries.

and NO it cannot be done via script.
Learn What to do ,How to do and more importantly When to do ?
Michael Tully
Honored Contributor

Re: locking accounts after 3 unsuccessful login attempts

By default a trusted system will lock an account after 3 unsuccessful attempts.
Anyone for a Mutiny ?
Sยภเl Kย๓คг
Respected Contributor

Re: locking accounts after 3 unsuccessful login attempts

If your system is not trusted mode change it to trusted mod.No need to do any modification bye default the max lgin atempt would be set to 3
regards
SK
Your imagination is the preview of your life's coming attractions
Mike_Ca Li
Regular Advisor

Re: locking accounts after 3 unsuccessful login attempts

Thank you for the replies. How would this work in SVR4 box? Anyone has experience?