CentOS 8 设置root 用户自动登录

 1.在终端输入 vi /etc/gdm/custom.conf

在末尾增加以下:

AutomaticLoginEnable=true
AutomaticLogin=root

 

2.重启系统 reboot,即可自动进入root用户。

你可能感兴趣的