how to login as root in ubuntu 10.10

On Ubuntu 10.10 you can’t have all the administrative or root power with the default user,created during the installation.If you want to login as root in GUI mode then use passwd command(Explained Below).If you think that why can’t I get all the root power with the default user,then the reason is obvious – the security policy of GNU/Linux or Ubuntu.It means that Ubuntu treats every user like a beginner if you are a advanced one then enable/hack and customize everything in the way you want.But this policy might be irritating some times specially while performing administrative task,but you can do that from Command Line by gaining temporary root power by using sudo commands.

On the other hand but if you don’t want to mess with commands,then other simple solution is to enable root login in gui mode,which can be done in few simple steps –

step #1 : Create Root user

To create ROOT user enter the following command at terminal(hit CTRL+ALT+T to open Terminal).Then enter a new password twice for root user.

ubuntuuser@ubuntuuser-desktop:~$ sudo passwd root

[sudo] password for ubuntuuser:

Enter new UNIX password:

Retype new UNIX password:

passwd: password updated successfully…..

step #2 : Login as Root in GUI mode

To use root power in gui mode ,logout from the current session and in login window select other user;enter root as username and in place of password enter the one as defined in step1.That’s all ..enjoy the real power of Ubuntu 10.10.

Caution : Always Remember that in gui mode ROOT power is very dangerous if you aren’t sure what you are doing..so use the root power carefully because one mistake can damage/corrupt you whole system & …..that’s why it’s recommended to come back in normal mode(non root) after completing the critical tasks.You can also use some tools like ubuntu tweak or ubuntu control center to gain root power.

Hi,
by mistake i gave 777 permission to usr directory and now i can’t run sudo command and when i use passwd command without sudo system display that only root user can change the passwd, now i want to login as a root user to change the permission of usr directory but i can’t, how can i fix this problem?

Greerhart

Hey there followed ur advice above and it worked! I only use it for virus scans on BitDefender which is handy since BitDefender can only scan everthing with root privelages. Once i have created the root login account is there anyway to delete the account or suspend it? And once ive logged out of the root account and back in to my own do i still leave myself open to any damage?