Hi,
not able to unlock user eventhough executed /usr/lbin/modprpw -k username
Thanks in advance
Hi,
not able to unlock user eventhough executed /usr/lbin/modprpw -k username
Thanks in advance
-k
To unlock/enable a user's account that has become disabled, except when the lock is due to a missing password or * password.
I usually check first:
/usr/lbin/getprpw -r -m lockout <username>
#Then reactivate:
/usr/lbin/modprpw -k <username>
#verify exit status(=0)
You can try to null out old password and change it.
# /usr/sam/lbin/usermod.sam -F -p "" <username>
But is your system trusted or using a shadow or what?