Enable Root login in Ubuntu

By default there is no permission to login as ROOT in Ubuntu, because of the security reasons. But you can be able to reset those setting by editing the configuration files. So try the following tip to enable the ROOT User login. ;) Here the gdm stands for Gnome Display Manager.

Shell Command for Ubuntu 8.04

sudo cp /etc/gdm/gdm.conf /etc/gdm/gdm.conf.bkp

sudo gedit /etc/gdm/gdm.conf

If the terminal asked for the root password please provide that. After that you will get the conf file in gedit.
Search the “AllowRoot” keyword,  and if you found something like “AllowRoot=false“ change it to “AllowRoot=true”. Save the file close the editor.
Restart the machine.

Note: In Ubuntu 9.10 there is no option to enable the root login. :(

About Midhun Devasia

I'm a 26 year old Web Developer from Cochin, India.I had completed my B.Tech Computer Science and Engineering from SNGCE, Cochin. Now am working as a Technical Manager for a Web Development company at Cochin, India . I have 1 year experience in Java and 3 year experience in Web Technologies.
This entry was posted in Linux and tagged , . Bookmark the permalink.

2 Responses to Enable Root login in Ubuntu

  1. Benson Issac says:

    hello midhun,
    its a new information,i searched many sites about this…thanks

  2. Nisanth says:

    Hi Midhun,

    Very nice article :)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>