Debian ask me to change the password again and again.

Few days ago I can’t login to the server. I decided to reset the password. After this, I can log in but immediately receive the message to change the password. After this, the connection is closed automatically. When I try to do this again I get the same result. I checked passwords very carefully.

Can you help?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

When the root password is reset, the system requires you to change the password on first login. It does this with the passwd utility.

You need to pay close attention to the instructions, it will ask you for the current password first, not the new password.

You need to enter the current password twice. Once to log into the box, and once for the passwd utility. It will then ask you for the new password.