Linux – Password has been used already. Choose another

Just a quick reminder, note-to-self

Linux – Password has been used already. Choose another

root@linux:~ # passwd
Changing password for root.
New Password:
Reenter New Password:
Password has been used already. Choose another.
Password changed

Linux is keeping the old password stored on /etc/security/opasswd.

Delete the line containing the user that you’re trying to change the password.
It is encrypted so delete them all or just the last one 😉

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.