How to change the root password Linux CLI

This is a quick reference guide on how to change the root password on Linux Based Operating Systems.

To change the root password on Linux Operating Systems (Ubuntu, Debian and Centos)

root@VPS:~# sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

If you are new to the world of Linux, an avid Linux enthusiast or a student why not try our 0.99p per month Linux VPS.

Simply click on the screen shot below to find out more or navigate to https://piggybank.cloud

Thank you for reading and please feel free to leave any feedback.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s