Basically in all linux OS we can access root for login. But in ubuntu by default that option is not enabled. if you want to have root login then you have to do some hack on ubuntu OS ;)

Just follow the below step for login as root. And do everything as you want :) .

Step 1:

Login ubuntu as your user login details.

Step2:

Then  open the terminal and type those command —-    sudo -s —–  It will ask for root access and type the password. Then type the password root and it will ask for new password. confirm the password. Now close the terminal.

Step 3:

Now again open terminal and type those command ——     sudo gedit /etc/gdm/gdm.conf ——- . Its open this file gdm.conf on gedit text editor ( You can open it on other text editor as well ).

Step 4:

Now find for AllowRoot=false .

Step 5:

Then change AllowRoot=true .

Step 6:

Now restart the machine, open the login page and login as user name : root and password : that you given previously (the password type on the terminal for root access.

Now you can enjoy the root access. You can do whatever you want. :D