CentOS7开机直接登陆

CentOS7开机直接登陆

参考:centos7设置开机默认使用root账户登陆

以root身份编辑custom.conf文件

vi /etc/gdm/custom.conf

在[daemon]下写入:

AutomaticLoginEnable=True
AutomaticLogin=root

重启系统后就可以直接进入root账户

posted @ 2021-01-23 14:04  夏恒  阅读(309)  评论(0)    收藏  举报