Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .