Welcome to Webune Support Forums

We provide web hosting to people just like you who are just beginning to program their websites. We provide excellent support service, that is why we have created this post to show you how you can login to your ubuntu server with the root account

So you just finished installing ubuntu on your computer. You try to login to the shell using the root but it doesnt work. then you remember that during the installation you were not asked for a root password. so what is the default root password for ubuntu?

well, i found the hard way. when you are installing ubuntu, you are not prompt for a root password like Fedora for example.

so this is what i did to gain access to the root account. first login to your shell and send these commands:

Update your sudo:
SHELL COMMAND:
sudo apt-get update


now create the root password:
SHELL COMMAND:
sudo passwd


you will be prompted to enter the sudo password and re-enter again:

Enter new UNIX password:
Retype new UNIX password:


THATS IT!

now you can try to login by sending this command:
SHELL COMMAND:
su


enter the password you just created, BOOM, you should now be logged in as a superuser(root)

you can tell you are logged in as superuser because the prompt has now changed from $ to #

you can even test out the root account by logging off and then login as root

try it, let me know if it works