Ubuntu自动用root登录
有些情况,特别是个人电脑,总喜欢用root登录Ubuntu的,这样会方便很多,命令:
$ sudo gedit /etc/gdm/custom.conf
举个例子,我的是:
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=root
TimedLoginEnable=true
TimedLogin=root
TimedLoginDelay=10
重启就会发现是用root登录的Ubuntu了。
注:没有该文件的可以新建,我发现用Alternate 10.04的就没有这个文件。
还有,root必需是没有被锁住的,Ubuntu默认关闭了root,用sudo passwd root
解锁。