I searched this issue at internet and found the following article:
http://www.sizlopedia.com/2008/04/16/how-to-login-to-ubuntu-as-root-user/
This article gave the following steps to login to Ubuntu as Root User:
- Open the terminal and type:
sudo passwd root
- When you see the prompt that says “Enter new UNIX password”, enter the password you want for the root user and confirm it.
- Type:
sudo gedit /etc/X11/gdm/gdm.conf
- Locate the line that says “AllowRoot=false”. Change it to “AllowRoot=true”.
- Save the file
- Exit gedit, logout and then reboot.
I tried it and found out there is a little bit difference in my system. The version of my Ubuntu system is V8.10, and the gdm.conf did not locate in /etc/X11/gdm/, it located in /etc/gdm. So change the step 2 to sudo gedit /etc/gdm/gdm.conf, it’s ok.
eaglet
The last day of the year of tiger.