LinuxNote

发布时间 2023-04-06 21:28:22作者: OneQue

centos设置默认以root身份登录

vim打开custom.conf文件

vim /etc/gdm/custom.conf

修改AutomaticLoginEnableAutomaticLogin为以下内容

  AutomaticLoginEnable=True
  AutomaticLogin=root