05
Mar
10

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. :(

  • del.icio.us
  • Digg
  • Facebook
  • LinkedIn
  • Google Bookmarks
  • Twitter
  • MySpace
  • Mixx
  • Reddit
  • DZone
  • Sphinn
  • StumbleUpon
  • Blogplay
  • Diigo
  • Live
  • MSN Reporter
  • Technorati
  • NewsVine
  • Yahoo! Bookmarks
  • Netvibes
  • Design Float
  • Add to favorites
  • email
  • Yahoo! Buzz
  • Gwar
  • FriendFeed
  • Tumblr
  • Print
  • PDF
  • RSS

About Midhun Devasia

I am working as a Technical Manager for a Web Development company at Cochin, India. Completed my B.Tech Computer Science and Engineering from SNGCE. I'm the lead developer of Tutorboy.com.
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>