Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to change the password

prathesh
Occasional Contributor

Not able to change the password

Hi

I am not able to change the password for any users in a system.Can you please let me know how to solve the issue

# passwd
Password not changed: password lifetime has passed.
Experience makes a man perfect
2 REPLIES
Venkatesh BL
Honored Contributor

Re: Not able to change the password

This should be useful:
http://unix.derkeiler.com/Mailing-Lists/Tru64-UNIX-Managers/2006-01/msg00027.html

Also, check out the manpage of prpasswd(u_life) and usermod (passwd_lifetime) for more info.
Ivan Ferreira
Honored Contributor

Re: Not able to change the password

Use:

usermod -x password_lifetime=0 username
usermod -x grace_limit=1 username
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?