Is there a way to change password to value same as the previous password? I know this is a security flaw, but would like to know however.

when I try this:

[mrbean@wwwserver ~]$ passwd
Changing password for user mrbean.
Changing password for mrbean
(current) UNIX password: 
New UNIX password: -- here i typed same password
BAD PASSWORD: is too similar to the old one.
link|improve this question

80% accept rate
feedback

2 Answers

up vote 4 down vote accepted

Either enter the password as root, or modify the PAM configuration to relax the password requirements. Either way, this is something that only root can do.

link|improve this answer
feedback

or change it to something else, then change it back to same one...

link|improve this answer
Unless something like pam_pwhistory is in use. – Dennis Williamson Apr 14 '10 at 21:33
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.