Linux虚拟机CentOS 7 开机直接进入root

vim /etc/gdm/custom.conf

[daemon]选项中

AutomaticLoginEnable=true
AutomaticLogin=root
TimedLoginEnable=true

[Security]

AllowRoot=true

猜你喜欢

转载自www.cnblogs.com/xingxyx/p/12965549.html