1758641 Members
2038 Online
108874 Solutions
New Discussion юеВ

Account Lockout

 
SOLVED
Go to solution
Steve_168
New Member

Account Lockout

On an HP-UX 10.20 trusted system where is the account lockout value stored?
3 REPLIES 3
S.K. Chan
Honored Contributor
Solution

Re: Account Lockout

I think in the tcb database file ..(for example user "skchan")
/tcb/files/auth/s/skchan
alphabetically named directories if you notice. FYI, the command "getprpw" should give you the "lockout" value/code.
# getprpw -r -m lockout

steven Burgess_2
Honored Contributor

Re: Account Lockout

Hi Steve

You can get the account lockout value

getprpw -m acctexp

man getprpw

for more options

HTH

Steve
take your time and think things through
steven Burgess_2
Honored Contributor

Re: Account Lockout

Whoops

Thats account expiration time

lockout - returns the reason for a lockout in a "bit" valued
string. The position, left to right represents:

1 past password lifetime
2 past last login time
3 past absolute account lifetime
4 exceeding unsuccessful login attempts
5 password required and a null password
6 admin lock
7 password is a *

the value 0 = condition not present, 1 is present.

RETURN VALUES

0 success
1 user not privileged
2 incorrect useage
3 can not fine the password file for this user
4 system is not trusted


HTH

Steve
take your time and think things through