vinayasurya
Journeyman
If you want to enable root account in ubuntu .
Use sudo su -
Type your password
Then at root prompt type passwd
enter the new password for root
confirm password
Now you can login as root. ( only to command line in ubuntu , i guess )
This works through all the ubuntu versions including latest kubuntu 8.10, I tried. Please note for sudo su - there is " - " after that. su is switch user , if no user is specified it drops to root user. The " - " is to drops to deafult shell of that particular user ( here root ) , so that it reads the .profile .. etc files in the home folder. Thus the default settings for that user is loaded.
If ambika can post the error occured , with the commands , I can help you out.
And if the prompt is $ usually for normal user, for root user the prompt is # . In case you are in doubt issue who command.
$who
Last edited: