SUPPORT THE SITE WITH A CLICK

Subscribe Rss:

SUPPORT THE SITE WITH A CLICK

Wednesday, October 24, 2007

How to enable root login in Ubuntu

Enabling root access in unbuntu


Basically in almost all linux machines we will be having root access for login.but in ubuntu by default that option was not enabled.If u want to have root login in ubuntu then u have to do some changes in ur Ubuntu machines
Steps to follow

1.First enter into ubuntu as your user login.
2.Then open the terminal and type the command sudo -s,it will ask for root access and type the password.
3.Then type passwd root it will ask for new password
4.Open terminal and go to the path /etc/gdm/
5.Open gdm.conf
6.search for AllowRoot=false
7.and then change AllowRoot=true
8.now restart ur machine
9.now u can enjoy with root access

5 comments :

  1. Tq very much for your valuable suggestion..I searched lot of websites for this purpose.At last I am able to find it..Once again thanks

    ReplyDelete
  2. Step 5 states "open gdm.conf" - can you elaborate as if I open in gedit it won't allow me to save (permission) as I am not logged in as root. I can't log in as root, that's why I need your help!!

    ReplyDelete
  3. Here is what lostwarrior should have said.

    1.First enter into ubuntu as your user login.
    2.Then open the terminal and type the command sudo -s,it will ask for root access and type the password.
    3.Then type passwd root it will ask for new password
    4.Open terminal and type CD /etc/gdm/
    5.Now type: pico gdm.conf (gdm.conf will open)
    6.Type: CTRL-W, then after "search" type AllowRoot=false
    7.change to AllowRoot=true
    8.Type CTRL-O (this will write the changed file)
    9.now restart ur machine
    10.now u can enjoy with root access

    JabbaWot

    ReplyDelete
  4. Here is what lostwarrior should have written:

    1.First enter into ubuntu as your user login.
    2.Then open the terminal and type the command sudo -s,it will ask for root access and type the password.
    3.Then type passwd root it will ask for new password
    4.Open terminal and type: CD /etc/gdm/
    5.Type: pico gdm.conf
    6.Type: CTRL-W, and type: AllowRoot=false after "search"
    7. Change to AllowRoot=true
    8.now restart ur machine
    9.now u can enjoy with root access

    Jabberwocky

    ReplyDelete
  5. Here is what lostwarrior should have written:

    1.First enter into ubuntu as your user login.
    2.Then open the terminal and type the command sudo -s,it will ask for root access and type the password.
    3.Then type passwd root it will ask for new password
    4.Open terminal and type: CD /etc/gdm/
    5.Type: pico gdm.conf
    6.Type: CTRL-W, and type: AllowRoot=false after "search"
    7. Change to AllowRoot=true
    8.now restart ur machine
    9.now u can enjoy with root access

    Jabberwocky

    ReplyDelete