Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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.