Sharing Knowledge | System Admin Articles

Solution: Error - "passwd: Sorry: less than 7 days since the last change."



 Problem:

When you trying to change password in solaris, you may get the below error:

ORACLE user1$ passwd oracle
Enter existing login password:
passwd: Sorry: less than 7 days since the last change.
Permission denied

Solution:

As root do the following:
# passwd -n 0 oracle

Now, Ask the oracle user to try again.
ORACLE user1$  passwd oracle

Now the Oracle user able to change their password.


Permenant fix:

Take a look at /etc/default/passwd file and check the MINWEEKS Parameter.

You can change it to NULL if you don't want a minimum time between password changes.


My Profile PhotoAbout the Author

I'm Parthiban, An UNIX System Admin by Profession. I'm Experienced in Linux/Unix System Administration and Scripting. I have done lot of work on the infrastructure Mgmt side in Linux, UNIX and Windows system administration, Hardware, Storage and Data center. I'm blogging since 2008.
Follow Me On Twitter or On Facebook

0 Comments for "Solution: Error - "passwd: Sorry: less than 7 days since the last change.""

What do you think about this Article? Add your Opinion..!

Back To Top