码迷,mamicode.com
首页 > 其他好文 > 详细

CentOS7更改开机自动登录

时间:2018-10-10 10:34:26      阅读:424      评论:0      收藏:0      [点我收藏+]

标签:退出   自动   code   debugging   lang   lin   The   bash   登录   

  CentOS7更改开机自动登录

  用vi打开/etc/gmd/custom.conf配置文件

vi /etc/gmd/custom.conf

# GDM configuration storage

[daemon]

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
#Enable=true

  在[daemon]下写入以下两行代码保存退出

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=root

  更改完成。

CentOS7更改开机自动登录

标签:退出   自动   code   debugging   lang   lin   The   bash   登录   

原文地址:http://blog.51cto.com/yy1109lll/2296514

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!