This is my first time I'm blogging away from Microsoft product D:
Now I am going to share a very simple thing attached inside Ubuntu operating system. FYI, the version of Ubuntu that I used for this example is Ubuntu version 16.04.2.
And in this blog I will show how to activate 'root' user in Ubuntu. Root user can act as an ordinary user in Ubuntu, as it can do a lot of things with the privilege this user has. By default, root user is disabled, meaning that in order to activate this user, you must set a password first and then you will be able to activate the root user afterwards. It is similar like when you first time install Windows operating system (such as Windows 10, 8, 8.1, or Windows Server), if you register another username instead of 'administrator', you need to set the password for user administrator if you want to use this particular user. This thing also happens in Ubuntu. By using terminal provided by Ubuntu, you are allowed to activate the 'root' user with simple command. Below are the steps to do it:
1. You need to set a password for 'root' user by running this command:
======================================================================
sudo passwd root
======================================================================
2. Just enter the password for your 'root' user then press enter. Make sure you successfully changed the password
3. Next, run this following command to make sure the 'root' user has been activated
======================================================================
sudo passwd -u root
======================================================================
After you ran the last command shown in step 3, you will receive the message "passwd: password expiry information changed". It means that your 'root' user has been activated and you can use this user for your own purpose.



No comments:
Post a Comment