Ticker

6/recent/ticker-posts

Header Ads Widget

Shared Hosting with Namecheap. Free .Website domain & WhoisGuard

How to change root password in ubuntu server


Be default, the root user account on ubuntu is locked if you have not used SSH key while setting up the server. Your host will either give you an option to enter the password manually while setting up the server or you will receive the password on your registered email address. In case of later, it is a randomly generated password which we recommend to change at the first login itself.


To change the root password in ubuntu server do the following:

1. SSH at root@YOUR_IP_ADDRESS

2. Enter your current password

3. type the following command:

sudo passwd root

You will be asked to enter new password and verify it. Thats all. You have successfully changed your root password.

Post a Comment

0 Comments