Operating System - Tru64 Unix
1752497 Members
5861 Online
108788 Solutions
New Discussion юеВ

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 2
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?