CentOS7.0 使用root登录桌面
2014-08-22 17:12
911 查看
CentOS7.0 使用root登录桌面
新版的7.0很多资料没有,为了安全,linux是禁止root登录到桌面,但为了方便又想用root登录到桌面,在网上找了找,基本上都是这这一篇: http://shaoguangleo.blog.163.com/blog/static/227798320121022270901/ 但是在7.0中是没有“/etc/pam.d/gdm”这个文件的,也没有#auth required pam_succeed_if.so user != root quiet 这一行可以修正
其实实现方法很简单,
1、编辑/etc/gdm/custom.conf,修改以下两行:
AutomaticLoginEnable=true 这个修改为 true
AutomaticLogin=root 这个修改为 root
2、登录到桌面时,不要直接点击用户名,而是选择“not list",然后输入root,输入密码即可进入。
新版的7.0很多资料没有,为了安全,linux是禁止root登录到桌面,但为了方便又想用root登录到桌面,在网上找了找,基本上都是这这一篇: http://shaoguangleo.blog.163.com/blog/static/227798320121022270901/ 但是在7.0中是没有“/etc/pam.d/gdm”这个文件的,也没有#auth required pam_succeed_if.so user != root quiet 这一行可以修正
其实实现方法很简单,
1、编辑/etc/gdm/custom.conf,修改以下两行:
AutomaticLoginEnable=true 这个修改为 true
AutomaticLogin=root 这个修改为 root
2、登录到桌面时,不要直接点击用户名,而是选择“not list",然后输入root,输入密码即可进入。
相关文章推荐
- CentOS7.0 使用root登录桌面
- CentOS使用root直接登录
- ubuntu14.04使用root用户登录桌面 分类: 学习笔记 linux ubuntu 2015-07-05 10:30 199人阅读 评论(0) 收藏
- CentOS 使用 Xfce 桌面并通过 xrdp 登录
- ubuntu14.04使用root用户登录桌面
- 使用root登录桌面
- centos_7自动以root身份登录gnome桌面
- CentOS使用root直接登录
- ubuntu14.04使用root用户登录桌面
- 服务器centos 使用ssh key登录 设置root密码
- ubuntu使用root用户登录桌面
- Ubuntu 12.04使用root用户登录桌面
- ubuntu14.04使用root用户登录桌面,ubuntu14.04root 转
- ubuntu14.04使用root用户登录桌面
- Ubuntu12.04桌面版使用Root登录
- Centos 5 KDE桌面root不可以登录
- 关于使用VNC帮助windows远程桌面登录LINUX的方法(CentOS5.5已验证)
- CentOS安装使用vnc进行远程桌面登录
- 使用putty通过ssh登录centos5.4主机很慢
- XP系统远程桌面连接使用administrator账号空密码登录