NOTE: This is Highly not recommended, but I have found it very useful at times.

———————————————————

1. Open the terminal and type:
sudo passwd root
2. When you see the prompt that says “Enter new UNIX password”, enter the password you want for the root user and confirm it.
3. Type:
sudo gedit /etc/gdm/gdm.conf
4. Locate the line that says “AllowRoot=false”. Change it to “AllowRoot=true”.
5. Save the file
6. Exit gedit, logout and then reboot.


2 Responses to “How to Login to root -Ubuntu”


  1. 1 Maha
    May 26, 2008 at 8:28 am

    so, you’re telling me that, during installation, i can’t name myself “root” ?

  2. 2 marvinrebooted
    May 26, 2008 at 1:23 pm

    Yes because Ubuntu creates and disables the root account for security reasons.

    A lot of People think that enabling the root account is a very bad idea, but it has been very helpful in my case.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: