开机自动以root登录

来源:互联网 发布:java程序员中年 编辑:程序博客网 时间:2024/05/16 09:17

Ubuntu11.04下开机自动以root用户登录
步骤:
1. vim /etc/gdm/custom.conf #此时,/etc/gdm/目录下并没有custom.conf文件
2. 输入如下内容:
[daemon]
TimedLoginEnable=true
AutomaticLoginEnable=true
TimedLogin=root
AutomaticLogin=root
TimedLoginDelay=5

3. 重启系统

原创粉丝点击