zl程序教程

您现在的位置是:首页 >  系统

当前栏目

Linux centos7 配置用户自动登录

Linuxcentos7配置自动 用户 登录
2023-09-14 09:01:52 时间

1、编辑文件

[root@CentOS6 ~]# vim /etc/gdm/custom.conf

GDM configuration storage
[daemon]
AutomaticLoginEnable=true		#使能自动登录
AutomaticLogin=root		#指定自动登录的用户
[security]

[xdmcp]

[greeter]

[chooser]

[debug]

2、reboot

重启之后就不需要输入登录用户和密码了。