Got your new VPS/Dedicated server and want to know how to change the default root login password, given to you when your server was setup? This is a simple procedure but most online documentation goes beyond the linux new bies knowledge. This time on Quick Tips I’m going to explain you how to do that on your Ubuntu, Debian , Centos server
Login to the server via SSH by given root user name and password. And execute this command on the terminal
sudo passwd root
( “root” is the user account name here, if you got different name enter accordingly )
And enter the new password twice, you are good to go 🙂
{ 1 comment… read it below or add one }
Thank for the tips, although it is crucial, it helpful if you are in condition that you have to maintain your server safe and secure, by gradually changing your root password.