Many of you must have noticed that root login in ubuntu is disabled in default. Even su doesnt work. The ubuntu documentation says that â€œubuntu is shipped with root account is lockedâ€œ. Actually its a good move. The newcomers to ubuntu do not want to get frightened hearing the name â€˜rootâ€˜. If you have moved passed the n00b stage you might want to unlock it.
Firstly you should set the root password. Login to ubuntu with the user which you created during installation. Go to System> Administration> Users and Groups. Select root. Click on Properties. Set the root password.
Secondly enable the root login. Click on System> Administration> Login Window. Click on Security tab. Check â€œAllow local administrator loginâ€œ. Click on OK.
Everything is done. Now logout and log in with your root account.