CentOS7开机直接登陆
CentOS7开机直接登陆
以root身份编辑custom.conf文件
vi /etc/gdm/custom.conf
在[daemon]下写入:
AutomaticLoginEnable=True
AutomaticLogin=root
重启系统后就可以直接进入root账户
以root身份编辑custom.conf文件
vi /etc/gdm/custom.conf
在[daemon]下写入:
AutomaticLoginEnable=True
AutomaticLogin=root
重启系统后就可以直接进入root账户