Ubuntu10.04设置开机自动登入root帐户(不要密码登录)|| Ubuntu14.04root登录|| Ubuntu12.04root登录

Ubuntu10.04设置开机自动登入root帐户(不要密码登录)|| Ubuntu14.04root登录|| Ubuntu12.04root登录系统:Ubuntu10.04操作步骤:1.su进入root账号,然后vim/etc/gdm/custom.confetc/gdm/目录下并没有custom.conf文件,直接创建这个文件2.将以下内容复制进去:[daemon]TimedLoginEnable=trueAutomaticLoginEnable=trueTimedLogin=root

系统:Ubuntu10.04

操作步骤:

1.su 进入root账号,


然后
vim /etc/gdm/custom.conf
etc/gdm/目录下并没有custom.conf文件,直接创建这个文件




2. 将以下内容复制进去:


[daemon]

TimedLoginEnable=true

AutomaticLoginEnable=true

TimedLogin=root

AutomaticLogin=root



TimedLoginDelay=30

3. 重启系统:

直接进入root账户了。

系统:Ubuntu14.04

操作步骤:

1.su 进入root账号,

然后 vim   

/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf ,如果
目录下并没有50-ubuntu.conf f文件,直接创建这个文件


2. 将以下内容复制进去:


[SeatDefaults]

user-session=ubuntu

autologin-user=root

greeter-session=unity-greete

greeter-show-manual-login=true

allow-guest=false

3. 重启系统:

直接进入root账户了。

系统:Ubuntu12.04

操作步骤:

1.su 进入root账号,

2. vim  /etc/lightdm/lightdm.conf. 修改配置文件

[SeatDefaults]

allow-guest=false

autologin-user=root

autologin-user-timeout=0

autologin-session=lightdm-autologin

user-session=ubuntu

greeter-session=unity-greeter

3. 重启系统:

直接进入root账户了。




版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/36619.html

(0)
编程小号编程小号

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注