图形界面 Fedora Core 12/Core 11 How to log in GUI as r

图形界面 Fedora Core 12/Core 11 How to log in GUI as root 怎样才能以 root 登录 log in

http://forums.fedoraforum.org/showthread.php?t=227169

root login

Fedora 11 by default doesn't allow someone to login as root through GDM. Instead you have to login as a normal user and become root through your terminal. However many users still want to login as root. Although I don't approve this here is how to do it. Don't forget that once you login as root its easier to damage your system so don't do the following unless you are sure what you are doing.

Open a terminal and type:
su -c 'gedit /etc/pam.d/gdm'

Here find the following line

auth required pam_succeed_if.so user != root quiet

and comment it like this

#auth required pam_succeed_if.so user != root quiet

Save the file and logout.

Do the same for /etc/pam.d/gdm-password

su -c 'gedit /etc/pam.d/gdm-password'

Now you can login as root. However you will notice that some stuff like Services won't run. To solve this type:

su -c 'gedit /etc/PolicyKit/PolicyKit.conf'

And paste the following line between the



The problem that remains is that system-config-services is slow to respond, but it works. Don't forget, it's not a good idea to login as root.

I hope this guide was useful for all Fedora users, old and new ones! If you think there is something that should be added on this guide just leave me a comment below!


++++++++++++++++++++++++++++++++++++++++++++++

You can login as root in F11 gdm (and F10)
 
At the gdm login screen use CTRL+ALT+F2 to go to a virtual console, login as normal root and then create root2 as follows:
 
Code:
 
adduser -o -u 0 -g 0 -d /root root2
passwd root2
 
Now CTRL+ALT+F1 (or may be F7) to return to gdm and login as root2, gdm will think you are root (and will display root user in top right menu bar in gnome)

 
++++++++++++++++++++++++++++++
 
/etc/pam.d/gdm
 
Try making the same change in /etc/pam.d/gdm-password .
 
++++++++++++++++++++++++++++

 
Problem is scottro the instructions weren't complete for F11, you need to make an additional edit in /etc/pam.d/gdm-password (as mentioned above). I corrected the FAQ https://fedoraproject.org/wiki/Enabl...isplay_Manager.
 
Now, to really make your system insecure and likely to break, add this line to to /etc/PolicyKit/PolicyKit.conf (between the tags)
 
Code:
 

 
You'll now find that system-config-services and other stuff works, but is very slow to respond.
You'll also probably find your fedora system is broken and requires a reinstall after a few weeks, but it's your risk.
 
+++++++++++++++++++++++++++++++++
 


<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
阅读(557) | 评论(0) | 转发(0) |
0

上一篇:inittab

下一篇:nis_client.txt

给主人留下些什么吧!~~
评论热议
Debian GNU/Linux, Ubuntu Linux, Fedora Core / Red Hat Linux, OpenSUSE / SuSE Linux, 和 Mandrake Linux (现在称为Manjaro) 都是Linux发行版,它们各自有特色,用于满足不同用户的需求。 1. Debian GNU/Linux: 作为开源软件的基石,Debian以其稳定性、安全性以及严格的版本管理和软件质量控制而著名。它是许多其他发行版(如Ubuntu)的基础。 2. Ubuntu Linux: 是基于Debian的高级用户友好发行版,以其易于安装和使用、定期更新以及社区支持而知名。Ubuntu特别适合新手和企业环境。 3. Fedora Core / Red Hat Linux: Red Hat Linux已演变成Red Hat Enterprise Linux (RHEL),而Fedora则作为RHEL的开发分支。Fedora是滚动更新的,注重最新技术和创新,常被用作测试新软件和技术的平台。 4. OpenSUSE Linux: 始终以易用性和高度定制性著称,OpenSUSE提供了多个版本供选择,包括用于商业和个人用户的开源版本,以及针对服务器和嵌入式设备的定制版本。 5. Mandrake Linux (现为Manjaro): 曾经是Mandriva Linux的一个分支,后来独立出来。Manjaro以其友好的界面、轻量级以及对新手友好而闻名,它基于Arch Linux但提供了更平滑的用户体验。 如果你想深入了解这些发行版中的某个,或者它们之间的差异,可以关注它们的桌面环境(如GNOME、KDE、XFCE)、软件包管理器(如apt、dnf)、社区支持以及针对特定应用场景的定制程度。是否有特别感兴趣的地方?
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值