In the latest Linux release, you are not allowed to log on to the graphical user desktop with the root account. Therefore, after logging on to the graphical user desktop, if you want to run commands with the administrator permission, you can run suroot on the terminal, temporarily obtain the root permission. if/must log on to the GUI as the root user, you can modify/etc/pam. d/TPD and/etc/pam. add & rdquo; # & rdquo; annotation to the following line of settings. Disks are not allowed to log on to the graphic user desktop with the root account by default in the latest Linux release. Therefore, after a user logs on, you can use su root on the terminal to temporarily obtain the root permission;
If/must log on to the GUI as root, you can modify/etc/pam. d/TPD and/etc/pam. d/TPD-passwd: add "#" to the following line. After saving the disk, you can use the root account
# Auth required pam_succeed_if.so user! = Root quiet
The GNOME Display Manager is The Manager of The GNOME Display environment and used to replace The original X Display Manager. Unlike competitors (X3DM, KDM, and WDM), The Guid management system completely overwrites the code and does not contain any XDM code. Running and managing local and remote logon X servers (through XDMCP ). The running of the second executable file is a script. A running process. The running of the running. However, if you cancel all the tasks, the system restarts the system. Gdmsetup is a graphical interface tool that can easily modify most common options.
PS: About
Ubuntu and Fedora use roo usersAutomatically log on to the system and install Ubuntu in the virtual machine. enter the account and password each time you start the system. to save trouble, let the root automatically log on to the system as follows:
1. change a password for the root account;
Enter the "sudo passwd root" command in the terminal. then, the hacker will prompt you to enter the current account password. after entering the correct password, enter the password you want to grant the root account twice.
2. set automatic logon for the root account;
(1) Check whether the custom. conf file exists in the/etc/TPD/Directory. if so, go directly to the next step,
(2) if it does not exist, open "System-> à adminià à-> Login Screen" (System-> System Management-> logon window) and click "Unlock, modify a setting of Login Screen Settings, such as Enable or Disable "Log in as automatically", close the window, and check custom in the/etc/TPD/directory. the conf file should exist.
3. edit the/etc/TPD/custom. conf file and modify the AutomaticLoginEnable, AutomaticLogin, and TimedLogin files as follows:
[Daemon]
AutomaticLoginEnable = true this is changed to true
Set AutomaticLogin = root to root.
TimedLoginEnable = false
TimedLogin = root.
TimedLoginDelay = 10
DefaultSession = gnome
Fedora logs on as root:
1 vi/etc/pam. d/TPD
Set auth required ...... Comment out the line of root quiet
2 vi/etc/pam. d/TPD-passwd
Same as above
3 vi/etc/TPD/custom. conf
Add the following at the end:
[Daemon]
AutomaticLoginEnable = true
AutomaticLogin = root
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service