Operating System - HP-UX
1823913 Members
3295 Online
109667 Solutions
New Discussion юеВ

account never lock even after multiple wrong password entry

 
amipankaj
Frequent Advisor

account never lock even after multiple wrong password entry

Hello Experts,

Can we set an account in HPUX11.23 to vener lock even after multiple incorrect login? if yes, please let me know how.

i have set it to custom to 99 times incorrect login.


Thanks and Regards,
Pankaj
5 REPLIES 5
Doug O'Leary
Honored Contributor

Re: account never lock even after multiple wrong password entry

Hey;

Globally: you can set AUTH_MAXTRIES in /etc/default/security

and for individual users, you can set AUTH_MAXTRIES via userdbset

userdbset -u ${user} AUTH_MAXTRIES=3

man security
man userdb

for details

HTH;

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
amipankaj
Frequent Advisor

Re: account never lock even after multiple wrong password entry

Thanks Doug, i already had set it to 99, but i want to make it infinite. is that possible? if yes, how?
DeafFrog
Valued Contributor

Re: account never lock even after multiple wrong password entry

Hi Pankaj ,

Sam ( now SMH in v3) --- user management -- (follow the tabs)

considering the system is trusted.

Regards,
FrogIsDeaf
Doug O'Leary
Honored Contributor

Re: account never lock even after multiple wrong password entry

Hey;

Well, for starters, IMO, that's a really bad idea. If someone's attempting logins to the box that many times, you *really* want to know about it..

To remove the automatic lock after bad password attempts, simply set AUTH_MAXTRIES=0 (which is the default)

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
amipankaj
Frequent Advisor

Re: account never lock even after multiple wrong password entry

Thanks guys...tested...=0 worked.