最近在折腾ubuntu发现,这家伙安全限制的还挺多。通过“登陆窗口设置”还不能让root用户自动登陆。折腾了半天,终于能过修改配置文件的方式实现了。
修改 /etc/gdm/custom.conf
TimedLoginEnable=false
AutomaticLoginEnable=true 这个设为true
TimedLogin=root 这个自已改成root
AutomaticLogin=root 这个自已改成root
TimedLoginDelay=30
需要注意的是ubuntu安装好后,默认是不启动root用户的,你可以给root设置个密码就可以启用root 了。
ubuntu root 用户 自动登录
最新推荐文章于 2024-11-23 12:07:08 发布
本文介绍如何通过修改Ubuntu配置文件实现Root用户自动登录的方法。包括将custom.conf中的AutomaticLoginEnable和TimedLoginEnable设为true,并指定AutomaticLogin和TimedLogin为root。
1878

被折叠的 条评论
为什么被折叠?



