How to change the root password in Linux
Posted in Linux on February 12th, 2012 by Joonas – Be the first to commentChanging the root password in Linux is super easy.
- Simply login to your server as root via SSH
- Type “passwd” in the command prompt.
The “passwd” program will prompt you for your current password and then the new password that you want to set.
This command works on all the modern Linux distributions. If you need help using the command, type “man passwd” in your command prompt.