CentOS 7 - Gnome login as root

The new version 7.0 is not a lot of information, for safety, linux is prohibited root login to the desktop, but in order to facilitate want to log on to the desktop root, find the Internet to find, this one is basically this:

http://shaoguangleo.blog.163.com/blog/static/227798320121022270901/

But 7.0 is not "/etc/pam.d/gdm" of this document, nor #auth required pam_succeed_if.so user! = Root quiet this line can be corrected

Actually implementation is very simple,

1, edit /etc/gdm/custom.conf, modify the following two lines:

AutomaticLoginEnable=true 
AutomaticLogin=root            

2, when you log on to the desktop, do not just click a user name, choosing instead to "not list", and then enter the root, enter the password to enter.

 

supplement:

If the desktop is still displayed in English, if so, move down a position on the virtual machine restart.

Guess you like

Origin www.cnblogs.com/sunylat/p/11236845.html