Operating System - HP-UX
1826417 Members
3796 Online
109692 Solutions
New Discussion

HPUX 11.0: Password Lifetime Passed

 
SOLVED
Go to solution
LG Porter
Frequent Advisor

HPUX 11.0: Password Lifetime Passed

I have a HP server running HPUX 11.00 and configured as a trusted system. I'm attempting to reset a user's account and password using the passwd command and in so doing, I get the following message:

Password can not be changed. Reason: Password lifetime has passed.

What is the correct syntax to reset a user's account and lifetime on a trusted system?
8 REPLIES 8
Patrick Wallek
Honored Contributor

Re: HPUX 11.0: Password Lifetime Passed

Patrick Wallek
Honored Contributor

Re: HPUX 11.0: Password Lifetime Passed

Darn it. Wrong thread. Could someone clean up the above response please.

Now, lets see if I can help you with your actual question.....

I would go into SAM, and modify the account that way. That should let you completely reset the account.
Steven E. Protter
Exalted Contributor
Solution

Re: HPUX 11.0: Password Lifetime Passed

As root:

/usr/lbin/modprpw -l -k

passwd

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
LG Porter
Frequent Advisor

Re: HPUX 11.0: Password Lifetime Passed

Hi Pat:

Since the SAM Functional Area 'Accounts For Users and Groups' is not available....I was attempting to reset the account manually using the passwd command however each time I get teh message 'Password lifetime has passed.' There must be away to reset a user's account and lifetime from the command line.
Sundar_7
Honored Contributor

Re: HPUX 11.0: Password Lifetime Passed

Hi,

try

/usr/lbin/modprpw -x

This should reset the password.

Thanks,

Sundar.
Learn What to do ,How to do and more importantly When to do ?
Travis Harp
Advisor

Re: HPUX 11.0: Password Lifetime Passed

I had this problem with several systems also.

What I've done to reset the password is go into SAM select the account and go to "modify security policies". Then "password aging policies".
At the bottom of that screen you will see "reset password age to zero", check that and click ok.

What that does is make the password look like a new one to the system and it should then allow you to change it.

Hope this helps.
Eagles may soar but weasels don't get sucked into jet engines.
LG Porter
Frequent Advisor

Re: HPUX 11.0: Password Lifetime Passed

Travis:

I traditionally use SAM for this however, the SAM Functional Area 'Accounts For Users and Groups'is not available and I wanted to know how to reset a user's password from the command line on a "Trusted System".
sasi suryadevara
New Member

Re: HPUX 11.0: Password Lifetime Passed

To unlock the account use
/usr/lbin/modprpw -l -k loginid

To Reset the Password Age to Zero use
/usr/lbin/modprpw -v loginid

cheers
sasi