Operating System - HP-UX
1833732 Members
2530 Online
110063 Solutions
New Discussion

How to setup a user lockout after 3 wrong passwd attempts.

 
mark_5
Occasional Contributor

How to setup a user lockout after 3 wrong passwd attempts.

I would like to setup the ability to lockout users after 3 passwd attempts on a 11i non trusted system.
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: How to setup a user lockout after 3 wrong passwd attempts.

You can't do it on a non-trusted system. This function is only available on a trusted system.
Arockia Jegan
Trusted Contributor

Re: How to setup a user lockout after 3 wrong passwd attempts.

You can either use SAM or the command line.

here is the command to do that.

/usr/lbin/modprpw -m umaxlntr=


Arockia.
Arockia Jegan
Trusted Contributor

Re: How to setup a user lockout after 3 wrong passwd attempts.

Oops... I didn't notice that mark is looking for non-trusted system...

Patrick is right...
A. Clay Stephenson
Acclaimed Contributor

Re: How to setup a user lockout after 3 wrong passwd attempts.

In a non-trusted environment the only way to do this is to create a custom login executable.
If it ain't broke, I can fix that.

Re: How to setup a user lockout after 3 wrong passwd attempts.

While a custom login binary would work, seems like a custom pam module might be easier. At the link below a free module that does just such a thing is available:

http://www.comsmiths.com.au/pam/


Tyler