Labels

hpunix (63) marathi kavita (52) linux (21) solaris11 (11) AWS (5) numerology (5)

Thursday, August 28, 2014

Reason: password lifetime has passed + HPUX

Error:

#password

Password cannot be changed. Reason: password lifetime has passed.



Solution:


1. check the lockout condition for that user by command #/usr/lbin/getprpw

lockout=1001000

The position, left to right represents:

1 past password lifetime

2 past last login time (inactive account)

3 past absolute account lifetime

4 exceeded unsuccessful login attempts

5 password required and a null password

6 admin lock

7 password is a *


2. To reset the password age to zero

# /usr/lbin/modprpw -v {username}


3. Then unlock the user account

# /usr/lbin/modprpw -k {username}

or #/usr/lbin/modprpw -m alock=no -k username


4. If the problem persist then check the /tcb/files... for a particular user. May be it has been corrupted.

so manually edit the password there.


Thanks...
Kiran Jadhaw

**Let's Share our knowledge and keep visiting here**

No comments:

Post a Comment