System Administration

how to find out system wide Unsuccessful Login Tries Allowed

 
Devesh Pant_1
Esteemed Contributor

how to find out system wide Unsuccessful Login Tries Allowed

I know through SAM one can get it but I can not find the u_maxtries in the /tcb/files/auth/system/default from command line.
I have to get the value from over a hundred servers so a command line way to fech it would be beneficial.

thanks in advance
DP
3 REPLIES 3
Robert-Jan Goossens
Honored Contributor

Re: how to find out system wide Unsuccessful Login Tries Allowed

Hi DP,

Try,

# /usr/lbin/getprdef

umaxlntr ==> Unsuccessful login Tries Allowed

getprdef shows the users protected password database settings.

Regards,
Robert-Jan
Yogeeraj_1
Honored Contributor

Re: how to find out system wide Unsuccessful Login Tries Allowed

hi DP,

see also:
http://www.cryptomonkeys.com/~louisk/computerstuff/sysadmin/sa_ascii/06.06/klein/klein.txt


kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Robert Fritz
Regular Advisor

Re: how to find out system wide Unsuccessful Login Tries Allowed

Also, there's the /etc/default/security entry AUTH_MAXTRIES for system-wide settings, and its associated per-user settings you can check/set with userdbget/userdbset.

Note that these are available in more recent HP-UX versions, and do not require trusted mode.

-Robert
Those Who Would Sacrifice Liberty for Security Deserve Neither." - Benjamin Franklin