How to calculate the formula for profit
How to be beautiful, if you are a teenager

How do I log in as root in linux

How do I log in as root in linux

Root - This root in * nix systems.

With this account may be performedadministrative operations of important operating system files. Bundle «root -> standard user" has been developed to facilitate computer control and ensure stability and security.

All the actions that can be performed on the system files, can be performed only by root and inaccessible to a normal user.



By default, the Ubuntu login belowaccount root account disabled. To enable the root, you need to know the password that is set during installation. Password can always change the team through the "Terminal» (Menu - Programs - Standart): sudo passwd root
Sudo allows you to use the rightroot for the next request, and passwd changes the password for the selected user, in this case for root. After entering the command, enter your old and then the new password.


Activate the ability to log on locallyprivileged user via the GUI to the system. To do this, go to "System" - "Administrative Tools" - "Login Window" - "Security" and then select "Allow logon locally ...". Restart the computer. Now you can log in as root.


To execute commands as root via the "Terminal" in the Fedora and Mandriva systems use the prefix su. Open gdm file:

gedit /etc/pam.d/gdm
And comment out the line «auth required pam_succeed ...» using the # sign. Then reboot and try to log in as root from the account selection screen.


If you are on the KDE desktop, theedit the kdmrc file that is located in the folder / usr / share / config / kdm. Find AllowRootLogin line and change its value to True, and then save your changes and restart the user session with the appropriate menu item.

Comments are closed.