Fedora 11使用root用户登录到X

Fedora 11默认与10一样,在X界面下无法使用root用户登录。而且在Fedora 10中开启root用户登录的解决办法在11下已经行不通了。

其实只要我们稍作修改即可解决,已经亲自测试可以,具体方法如下:

Fedora 11使用root用户登录X需要以下两步操作,而Fedora 10只需要第一步。

打开终端:

1.  gedit /etc/pam.d/gdm
    注释掉
    #auth       required    pam_succeed_if.so user != root quiet

见图1与图2

fedora-11-root-1

图1

fedora-11-root-2

图2

2.  gedit /etc/pam.d/gdm-password
    注释掉
    #auth        required   pam_succeed_if.so user != root quiet

见图3与图4

fedora-11-root-3

图3

fedora-11-root-4

图4

搞定。现在你可以再Fedora 11下使用root用户登录了。见图5

fedora-11-root-5

图5

转载请务必保留此链接: http://www.fedora.cc/index.php/2009/06/fedora-11-root/

转载本站文章请注明来自:Fedora中文爱好者http://www.fedora.cc

5个人已经坐下/ 雁过留声

  1. macaulish on 六 29th, 2009 - 12:41 下午 Reply this comment

    我kde4的,,可以用root登陆哦

  2. 雷成涛 on 七 13th, 2009 - 8:41 上午 Reply this comment

    多出这一步干嘛?对于使用都只是多一条命令而已。

    2. gedit /etc/pam.d/gdm-password
    注释掉
    #auth required pam_succeed_if.so user != root quiet

  3. 虫茧 on 七 16th, 2009 - 10:08 下午 Reply this comment

    强烈支持楼主博客~~~~~

  4. FedoraUser on 七 17th, 2009 - 8:43 下午 Reply this comment

    用root登录后,点 Add/Remove Sofeware,

    报错:
    Package installer is running as a privileged user
    Running graphical applications as a privileged user should be avoid for security reasons.
    Package management applications are security sensitive and therefore this application will now close
    (普通用户正常)

    wen

Trackbacks:

正在搬凳子给你,请稍等...