F10以后的版本都默认不允许root用户登录桌面。要是你实在想的话请参考:
http://fedoraproject.org/wiki/Enabling_Root_User_For_GNOME_Display_Manager
要是你英语不太好:
1、Login in as a regular user and open the terminal (command line) and edit the configuration text filesu -c 'gedit /etc/pam.d/gdm'
1、以普通用户登录,打开终端,编辑配置文件:su -c 'gedit /etc/pam.d/gdm' [color=Red] #这样会进入gedit,图形化的文体编辑器[/color],你铁定了会用。
2、Locate the line that that read as follows:
auth required pam_succeed_if.so user != root quiet
2、找到下面这一行:
auth required pam_succeed_if.so user != root quiet
3、Remove or comment out line by prefixing #.
# auth required pam_succeed_if.so user != root quiet
3、删除或者用加个#前缀把这一行注释掉。[color=Black][color=Red] #我建议你注释掉就可以了,不要删。日后你想改只要把#去掉就可以了(我打赌你不久就会这么做)[/color]
# auth required pam_succeed_if.so user != root quiet[/color]
4、Save and close the editor. In Fedora 11 do the same edit in
/etc/pam.d/gdm-password. You should be able login as root user using
GDM now.
4、保存退出。在F11当中配置文件是/etc/pam.d/gdm-password。 [color=Red] #F11中第一步命令就是:su -c 'gedit /etc/pam.d/gdm-password'[/color]。
hantu 于 2009-06-16 23:25:41发表:
二楼三楼已经讲得很清楚了
JasonKwong 于 2009-06-16 22:42:54发表:
f10
Ciudosr 于 2009-06-04 20:34:53发表:
用什么版本
dchwlinux 于 2009-06-04 20:32:11发表:
[i=s] 本帖最后由 dchwlinux 于 2009-6-4 20:57 编辑 [/i]
F10以后的版本都默认不允许root用户登录桌面。要是你实在想的话请参考:
http://fedoraproject.org/wiki/Enabling_Root_User_For_GNOME_Display_Manager
要是你英语不太好:
1、Login in as a regular user and open the terminal (command line) and edit the configuration text filesu -c 'gedit /etc/pam.d/gdm'
1、以普通用户登录,打开终端,编辑配置文件:su -c 'gedit /etc/pam.d/gdm' [color=Red] #这样会进入gedit,图形化的文体编辑器[/color],你铁定了会用。
2、Locate the line that that read as follows:
auth required pam_succeed_if.so user != root quiet
2、找到下面这一行:
auth required pam_succeed_if.so user != root quiet
3、Remove or comment out line by prefixing #.
# auth required pam_succeed_if.so user != root quiet
3、删除或者用加个#前缀把这一行注释掉。[color=Black][color=Red] #我建议你注释掉就可以了,不要删。日后你想改只要把#去掉就可以了(我打赌你不久就会这么做)[/color]
# auth required pam_succeed_if.so user != root quiet[/color]
4、Save and close the editor. In Fedora 11 do the same edit in
/etc/pam.d/gdm-password. You should be able login as root user using
GDM now.
4、保存退出。在F11当中配置文件是/etc/pam.d/gdm-password。 [color=Red] #F11中第一步命令就是:su -c 'gedit /etc/pam.d/gdm-password'[/color]。
其实linux很多配置文件中#都表示注释,被注释的行是不会被执行的。同样我给你的回复中红色就是表示注释,你可以不用看。
paul_Zhao 于 2009-06-04 19:54:50发表:
http://docs.fedoraproject.org/release-notes/f11/zh-CN/sect-Release_Notes-Changes_in_Fedora_for_Desktop_Users.html