06 How to change root password Ubuntu
In Linux, there is a SuperUser named Root. The Windows equivalent of Root is Administrators group. Do you want to change root password ubuntu? The SuperUser can do anything and everything, and thus doing daily work as the SuperUser can be dangerous. By default, the Root account password is locked in Ubuntu. This means that you cannot login as Root directly or use the su command to become the Root user. However, since the Root account physically exists it is still possible to run programs with root-level privileges.
I am going to show you 6 methods to change root password in ubuntu in all versions. Methods are described as below.
Method 1-2: how to set root password in ubuntu
Do you remember? We have created a normal user for Ubuntu at the time of installation. by default this user is normal but Sudo user. Sodu users have power to execute commands as super user.
- Login with Normal user
- Open terminal Execute command:
$sudo passwd root
- Enter password for logged in user and enter new password twice for root user
Method 3: Change root user password if logged in with root user
This is a very simple method to change the password, It is a good habit to set a strong password and change it periodically. In windows operating system its quite easy, you enter the current password and set new password graphically. but in Linux, you will have to use the command prompt to change the password, it’s easier if you are familiar with command line. just open a terminal and run following the command put new password twice
, make sure your password should be same. Now you have updated your root password successfully.
Method 4-5-6: Edit grub boot loader
Oh, Its not good sense to make you read this article, So i decided to make a vidoe tutorial and show you demonstration, so if you want to know more about set or change root password in ubuntu wath full video till end and dont forget to subscribe my channel for future udates
Finally, this is my first video on after youtube, I hope you will like these methods. I will continue update videos
Posted by Cyber Pratibha on Thursday, 9 February 2017