How to disable "change root password" for security reasons.

Posted February 26, 2015 4.2k views


I’m an experienced SysAdmin running Ubuntu 14.04 on a DigitalOcean droplet. I was wondering the other day how the “change root password” function in the control works in practice and if it was possible to disable it for security reasons.


  • The reset password tool that changes the password on your droplet is automatically disabled if you create the droplet using an ssh key rather than password based authentication.

  • Please note that this information is INCORRECT. Using key authentication does not stop “reset root password” from working.

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.

Submit an Answer
1 answer

They can gain access without that feature too, you should secure your account with two-step authentication instead.