Tip 1: How to log in as root in linux

Root - This root systems * nix.With this account, you can carry out administrative operations of important operating system files.Bundle «root - & gt;normal user "has been developed to facilitate computer control and ensure stability and security.All the actions that can be performed over the system files, can be performed only by root and inaccessible to a normal user.
By default, Ubuntu opportunity to login as the superuser disabled.To enable the root, you need to know the password that is set during installation.You can always change your password via the command "Terminal» (Menu - Programs - Standart): sudo passwd root
Sudo allows root access to run the following query, and passwd changes the password for the selected user, in this case for root.After entering the command, enter your old and then a new password.
Activate the ability to log on locally to the root user through a graphical interface to the system.To do this, go to "System" - "Administrative Tools" - "Login Wi
ndow" - "Security" and then select "Allow logon locally ...".Restart the computer.Now you can login as root.
to execute commands as root via the "Terminal" systems Fedora and Mandriva prefix su.Open gdm:

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 selection box account.
If you have a desktop is KDE, then edit the file kdmrc, which is located in the / usr / share / config / kdm.Find AllowRootLogin line and change its value to True, and then save the changes and restart the session by using the appropriate menu item.

Tip 2: How to log as root

Root is a root in Unix-like systems.This is an administrative account that has the login «root» by default and easy to rename if necessary.The scheme "root-user" was invented to facilitate the administration and to ensure the security and stability of the system.All operations performed on the system files are not available to the average user, but can root for.
How to enter as root
on Ubuntu Linux by default log in as root will fail.To activate the account root, you need to know the password.Usually it is set during the installation of the system, but it can always be replaced.Open the "Terminal" ("Menu -" Programs "-" standard ") and enter the following command: sudo passwd root.Team «sudo» gives the system a signal that the following actions should be performed as root.After that, you will need to enter your old password, then a new one that you want to set.
Next you need to create the opportunity to log on locally as root-system.To do this, go to the option "System" - "Administrative Tools" - "Login Window".Click the "Security" tab and select "Allow log on locally to the system administrator."
To log in as root operating system Fedora, use the terminal command «su» and enter the appropriate password.Then open the file gdm:

gedit /etc/pam.d/gdm
Comment out the line of the file «auth required pam_succeed_if.so user! = Root quiet» sign "#".Then log off the user and log on as root-a.
If in Mandriva you worth your desktop KDE, then, to start it from the root, in the same way to edit the file kdmrc, which may lie either in / usr / share / config / kdm, orin / etc / kde / kdm.
Change «AllowRootLogin» to true and save it.Then run kcontrol panel and add the root user to the appropriate list.
for Mandriva Gnome to edit, open the file / etc / gdm and change «AllowRoot» to true.Do not forget to save your changes.
should not come as root to perform everyday tasks.Use the administrative account only when it is really necessary.To view the movie fit the standard uchetku.
Helpful Hint
Do not use the root account for daily tasks.Use administrative account is necessary only in the case if necessary.For watching movies and editing electronic documents are quite suitable as a normal user of the system.


Related Posts