System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

AUTH_MAXTRIES not working in HP-UX 11.31

rajeevkammath
Occasional Contributor

AUTH_MAXTRIES not working in HP-UX 11.31

Hello,

I have set AUTH_MAXTRIES=1 in /etc/default/security file in my HP_UX box running with 11.31 OS, & i am using /etc/shadow file for password encryption.
I use ssh to connect to systems, telnet & rlogin is disabled.
/var/adm/userdb/USERDB.DISABLED file is present to disable user data base in /var/adm/userdb/.
Even after more than 4 consecutive wrong login attempts, user does not get locked/disabled.
I have attached etc/default/security file & /etc/pam.conf.
Any suggestions?
3 REPLIES
Michal Kapalka (mikap)
Honored Contributor

Re: AUTH_MAXTRIES not working in HP-UX 11.31

hi,

check this docu :

"HP-UX System Administrator's Guide: Security Management HP-UX 11i Version 3"

http://docs.hp.com/en/5992-6416/5992-6416.pdf

section :

4 HP-UX Standard Mode Security Extensions

mikap
rajeevkammath
Occasional Contributor

Re: AUTH_MAXTRIES not working in HP-UX 11.31

Thank you.

I just got resolved it. AUTH_MAXTRIES works well with telnet session, but with SSH it was not working.
I just removed # from the value "UsePAM yes" in /etc/opt/ssh/sshd_config & restarted the ssh. Now AUTH_MAXTRIES works well with ssh also.
rajeevkammath
Occasional Contributor

Re: AUTH_MAXTRIES not working in HP-UX 11.31

I just got resolved it. AUTH_MAXTRIES works well with telnet session, but with SSH it was not working.
I just removed # from the value "UsePAM yes" in /etc/opt/ssh/sshd_config & restarted the ssh. Now AUTH_MAXTRIES works well with ssh also.