AkuAdi My Life, My Journey

login as root when you running the Ubuntu machine

Ubuntu: How to login as root when you running the Ubuntu machine

• First enter into ubuntu as your user login.
• Open terminal and type sudo –s it will prompt for root access and type the password.
• Enter the root password and it will ask for new password for root
• Open terminal vi /etc/gdm/ gdm.conf (gnome can using gedit )
• Find AllowRoot=false
• Then change it for AllowRoot=true (after that don’t forget to save it)
• Init 6 (reboot)

Now u can login using the root account.

Share


78 thoughts on "login as root when you running the Ubuntu machine"

Leave a Reply

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