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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.