1.在终端输入su
2.输入root密码
3.用vi修改两个文件,把auth required pam_succeed_if.so user != root quiet注释掉
vi /etc/pam.d/gdm
vi /etc/pam.d/gdm-passwaord
操作如下:
3.1输入a
3.2在auth required pam_succeed_if.so user != root quiet前加上#
3.3按一下Esc
3.4输入":wq"
4.重新登录系统OK!
阅读(2694) | 评论(0) | 转发(1) |