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

vim /etc/gdm/custom.conf

[daemon]选项中

AutomaticLoginEnable=true
AutomaticLogin=root
TimedLoginEnable=true

[Security]

AllowRoot=true
posted @ 2020-05-26 14:46  lanyouzixingxing  阅读(1020)  评论(0编辑  收藏  举报