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

By Parthiban Ponnusamy

 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.