Thursday , 27 October 2016

How to Enable Root User in Ubuntu


How to Enable Root User in Ubuntu :-

If you switched from Windows to Ubuntu and you are searching for Administrator user here, you will not find it. Because in Linux ( and Unix in general), there is a Super User named Root. Super User can do anything and everything, and thus doing daily work without typing the Sudo command.

For me it’s boring to always enter sudo to run any program. However it,s good practice to run your OS with less privileges.

Today i am going to show you How to enable Root user in Ubuntu ?

Now first you need to be change your password. For this open your terminal with Ctrl + Alt + T and enter the command rumy@:~ sudo passwd root and enter your password.


now on the terminal enter the command

rumy@:~ sudo gedit /etc/lightdm/lightdm.conf 

it will open the lightdm configuration file. by-default you will not seen allow-guest=false line. because in my previous article i disable the Guest account.

check this How to disable guest account in ubuntu .


Now you need be add the  greeter-show-manual-login=true  to the bottom of the file and save the file.


restart your Computer. Now you have the option to enter the name of user.

Done Now you successfully enable the root user in ubuntu. As you seen in below image, my name change to root.


Enjoy you login with Root.

Hope you like my post.How to Enable Root User in Ubuntu. Please Share with others.

Also Check :-

How to Remote access Ubuntu from Windows

How to Safely Uninstall Ubuntu From a Dual-Boot PC

Five Ways to Speed Up Your Ubuntu PC

How to install webmin on ubuntu

Use Facebook to Comment on this Post

About Syed Balal Rumy

A 27 year Tech Geek and a blogger from India ( Bihar ) , live in New Delhi. I am MCITP , CEHv8 , CCNA , CCNA Security , CCNP Security , Security + and CCSA certified. Loves to write tech articles based on my real experiences.

Powered by