您的位置:首页 > 运维架构 > Linux

Linux ubuntu普通用户登录默认以root用户登录设置方法

2018-05-31 11:48 537 查看
版权声明: https://blog.csdn.net/frank_ldw/article/details/80522005 首先修改/etc/lightdm/lightdm.conf,设置autologin-user=root
  
  
  
  然后修改/root/.profile,注释掉mesg n || true,并且新添加一行:tty -s && mesg n
  
  
  
  重启即可看到效果。 阅读更多
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: