Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.
share|improve this question
up vote 5 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.

share|improve this answer

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

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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