Cant log in as root in Ubuntu
I just installed Ubuntu (hoary hedgehog) with the minimum options so that it only runs command line. the probel is that when i have to log in as root , it doesnt let me log in.
here is what i do
$ sudo su -
Password: ( i leave this blank as i have no password for root)
no option came during install to set root password. how do i log i as root?
Logging into the Graphical User interface (GUI)
BryanSmith's method worked beautifully for me, although there were some details which were different. I have UBUNTU 7.04 Feisty Fawn! installed, and when I navigated through System-->Administration--> Login Window, I was presented with the Login Window Preferences window.On the Security tab I found an empty checkbox labelled 'Allow local system administrator login'. I ticked this box and pressed 'Close'. I had already set a root password xxxxxx as described below, and when I rebooted UBUNTU I only had to enter Username: root and Password: xxxxxx in the opening screen to open UBUNTU with full root privileges.
To set the password for 'root':- Go to System-->Administration-->Users and Groups. Enter your User password. Select 'root' in the Users settings window and press 'Properties, Set and confirm your new password xxxxxx for root in the Account 'root' Properties window. Press 'OK' and 'Close'.