- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Password cannot be changed. Reason: password life...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2011 07:09 AM
09-30-2011 07:09 AM
"Password cannot be changed. Reason: password lifetime has passed."
This message iam getting when i tried to reset password for a perticular user
getprpw output given as under:
>/usr/lbin/getprpw ks1
uid=213, bootpw=NO, audid=79, audflg=1, mintm=-1, maxpwln=-1, exptm=-1, lftm=-1, spwchg=Fri Feb 11 18:24:13 2011, upwchg=Fri Sep 30 19:42:18 2011, acctexp=-1, llog=-1, expwarn=-1, usrpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Fri Sep 30 19:41:27 2011, ulogint=Fri Sep 30 15:26:58 2011, sloginy=pts/tb, culogin=-1, uloginy=pts/ta, umaxlntr=-1, alock=NO, lockout=1000000
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2011 08:23 AM
09-30-2011 08:23 AM
Re: Password cannot be changed. Reason: password lifetime has passed.
You need to unlock the accout before you can change the password.
# /usr/lbin/modprpw -k ks1
Once that is done you will be able to change the password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2011 07:19 AM
10-01-2011 07:19 AM
Re: Password cannot be changed. Reason: password lifetime has passed.
First you need to set password lifetime value to 0
# /usr/lbin/modprpw -v ks1
Then unlock the user account
# /usr/lbin/modprpw -k ks1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2011 09:39 AM
10-01-2011 09:39 AM
Re: Password cannot be changed. Reason: password lifetime has passed.
Hi Arunabha,,, I had tried the above steps but still it is showing same message.
root @ DRCSPARE : / >/usr/lbin/modprpw -v ks1
root @ DRCSPARE : / >/usr/lbin/getprpw ks1
uid=213, bootpw=NO, audid=79, audflg=1, mintm=-1, maxpwln=-1, exptm=-1, lftm=-1, spwchg=Fri Feb 11 18:24:13 2011, upwchg=Fri Sep 30 19:42:18 2011, acctexp=-1, llog=-1, expwarn=-1, usrpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Fri Sep 30 19:41:27 2011, ulogint=Fri Sep 30 15:26:58 2011, sloginy=pts/tb, culogin=-1, uloginy=pts/ta, umaxlntr=-1, alock=NO, lockout=1000000
root @ DRCSPARE : / >/usr/lbin/modprpw -k ks1
root @ DRCSPARE : / >passwd ks1
Changing password for ks1
Last successful password change for ks1: Fri Feb 11 18:24:13 2011
Last unsuccessful password change for ks1: Fri Sep 30 19:42:18 2011
Password cannot be changed. Reason: password lifetime has passed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2011 06:55 AM
10-02-2011 06:55 AM
Re: Password cannot be changed. Reason: password lifetime has passed.
I don't know why it is not working with you.
Here is an example:
server1: / > /usr/lbin/getprpw -l joe uid=128, bootpw=NO, audid=68, audflg=1, mintm=2, maxpwln=-1, exptm=-1, lftm=-1, spwchg=Thu Jul 7 11:36:52 2011, upwchg=-1, acctexp=-1, llog=-1, expwarn=-1, usrpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Thu Aug 4 01:57:16 2011, ulogint=Thu Jul 7 13:18:08 2011, sloginy=-1, culogin=-1, uloginy=-1, umaxlntr=-1, alock=NO, lockout=0000000
You can see "spwchg=Thu Jul 7 11:36:52 2011" and then I set password liftime value to "0".
server1: / > /usr/lbin/modprpw -v joe
Now see the output again:
server1: / > /usr/lbin/getprpw -l joe uid=128, bootpw=NO, audid=68, audflg=1, mintm=2, maxpwln=-1, exptm=-1, lftm=-1, spwchg=Sun Oct 2 21:50:20 2011, upwchg=-1, acctexp=-1, llog=-1, expwarn=-1, srpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Thu Aug 4 01:57:16 2011, ulogint=Thu Jul 7 13:18:0 2011, sloginy=-1, culogin=-1, uloginy=-1, umaxlntr=-1, alock=NO, lockout=0000000
You can see "spwchg=Sun Oct 2 21:50:20 2011"
Please give me the below output:
# uname -a
# /usr/lbin/getprpw -l ks1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2011 05:49 AM
10-03-2011 05:49 AM
SolutionThanks Arunabha, for your support,
Actually "/tcb/files... " for a particular user has been corrupted ........
when i deleted the below line
:u_succhg#1317646089:u_suclog#1317646240:u_unsuclog#1317646237:u_lock@:\
and tried to reset my password, it is resolved.
Regards
Krishna......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2018 11:37 AM
01-05-2018 11:37 AM
Re: Password cannot be changed. Reason: password lifetime has passed.
Servername>passwd -f user_id
(there will be no output)
Servername> passwd user_id
(You can set the new password here)