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

来源:互联网 发布:linux php5.6安装教程 编辑:程序博客网 时间:2024/05/21 09:39

图形界面 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 throughGDM. Instead you have to login as a normal user and become root throughyour terminal. However many users still want to login as root. AlthoughI don't approve this here is how to do it. Don't forget that once youlogin as root its easier to damage your system so don't do thefollowing 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 torespond, but it works. Don't forget, it's not a good idea to login asroot.

I hope this guide was useful for all Fedora users, old and new ones! Ifyou think there is something that should be added on this guide justleave 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

相关热门文章
  • linux 常见服务端口
  • xmanager 2.0 for linux配置
  • 【ROOTFS搭建】busybox的httpd...
  • openwrt中luci学习笔记
  • 什么是shell
  • linux dhcp peizhi roc
  • 关于Unix文件的软链接
  • 求教这个命令什么意思,我是新...
  • sed -e "/grep/d" 是什么意思...
  • 谁能够帮我解决LINUX 2.6 10...
给主人留下些什么吧!~~
原创粉丝点击