1。root登录限制
/etc/pam.d/gdm3
auth required pam_succeed_if.so user != root quiet_success
/etc/pam.d/gdm3-autologin
auth required pam_succeed_if.so user != root quiet_success
2。自动登录设置
/etc/gdm3/daemon.conf
[daemon]
# Enabling automatic login
AutomaticLoginEnable = true
AutomaticLogin = tony
# Enabling timed login
TimedLoginEnable = true
TimedLogin = tony
TimedLoginDelay = 10
阅读(2993) | 评论(0) | 转发(0) |