Operating System - HP-UX
1833875 Members
1671 Online
110063 Solutions
New Discussion

Re: cannot change password when password has been expired

 
Andy Ch
Occasional Contributor

cannot change password when password has been expired

login: user1
Password:
Your password has expired. Choose a new one
Changing password for user1
Old password:
Sorry.

There is no problem on changing the password by root or by user (at unix prompt). However, if the password expired, when the user login and entered the old password, then it only returned the "Sorry" and then back to the login prompt again.
4 REPLIES 4
Srikanth Arunachalam
Trusted Contributor

Re: cannot change password when password has been expired

Hi,

Clear the password for user1 and then reset it in 2 steps.

prompt> /usr/sam/lbin/usermod.sam -F -p "" user1

prompt> modprpw -k user1

Thanks,
Srikanth
Shrikant Lavhate
Esteemed Contributor

Re: cannot change password when password has been expired

Hi all,

Same thread is being discussed over here:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1180167
Will it remain a personal, if I broadcast it here!
Sp4admin
Trusted Contributor

Re: cannot change password when password has been expired

Hello,

You can use the commands listed below as root. If you use the getprpw command and it return "1" in any colume then the account is locked. use the modprpw to unlock thew account. you can also do a man on these commands.

#getprpw -r -m lockout usedid
#modprpw -k userid

sp,
Jacques Carriere
Regular Advisor

Re: cannot change password when password has been expired

Why not reset the account in SAM an use SAM to set the new passwd?