Operating System - HP-UX
1826501 Members
1739 Online
109692 Solutions
New Discussion

Clearing locks after AUTH_MAXTRIES has been exceded?

 
Mark Tunnell
Advisor

Clearing locks after AUTH_MAXTRIES has been exceded?

I'm running 11.31 NOT in trusted mode. I set AUTH_MAXTRIES=3 in /etc/default/security. It works great. On the fourth unsuccessful login attempt it generates a console message '4 authentication failures on account "test2"' Userstat shows test2 maxtries=4. Great. So, how do I restore this account? I can't figure out how to clear the lock? I use /usr/lbin/modprpw -l -k on my old 11.11 trusted systems. What's the new Untrusted version of that?

Thanks,

Mark
3 REPLIES 3
aaaA_4
Regular Advisor

Re: Clearing locks after AUTH_MAXTRIES has been exceded?

Hi Mark,

how did you resolve your problem. I've the same one...

Thank you,
n.
Pete Randall
Outstanding Contributor

Re: Clearing locks after AUTH_MAXTRIES has been exceded?

Have you tried reading the 11iV3 man page? It says:

"When an account has been locked due to too many authentication failures, root can unlock the account by this command:
userdbset -d -u username auth_failures"


Pete

Pete
Mark Tunnell
Advisor

Re: Clearing locks after AUTH_MAXTRIES has been exceded?

Yes, I finally did find it. It's in the man page, as Pete mentions. The security(4) man page to be precise.

Mark