图形界面 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=227169root 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!
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
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.
+++++++++++++++++++++++++++++++++
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...
给主人留下些什么吧!~~
评论热议
0 0
- 图形界面 Fedora Core 12/Core 11 How to log in GUI as r
- How to install mplayer in Fedora Core
- How to Install Java in Fedora Core 6
- How to change the default run level of a RedHat 9.0 or Fedora Core Linux system
- 轻松学习Fedora Core 6系统-2.1 图形界面与Linux
- Installing VMware Tools in Fedora Core 6
- Update Fedora Core from 13 to 14.
- Fedora Core 12 下载地址
- A Practical Guide to Red Hat(R) Linux(R): Fedora(TM) Core and Red Hat Enterprise Linux (3rd Edition)
- Upgrading Nagios Core 4. "How to Upgrade Nagios Core 4."
- How to extend Magento core controller?
- How to Make Custom Drawn Gradient Backgrounds in a Grouped UITableView with Core Graphics
- How to use insert or retrieve data by using Core Data in iOS
- how-to-mask-images-with-core-graphics-in-ios ios Mask
- How to Use Cocoa Bindings and Core Data in a Mac App
- How to Get the Frequency Table of a Categorical Variable as a Data Frame in R
- How to install realplayer In Fedora 7
- How to close firewall in Fedora
- 如何自定义Tokenizer (可用于MultiAutoCompleteTextView)
- Class.forName()用法详解
- inittab
- Oracle用户被锁原因及办法
- 外部存储之SDcard
- 图形界面 Fedora Core 12/Core 11 How to log in GUI as r
- nis_client.txt
- 【Mybatis进阶】--generator自动生成代码
- nis_server.txt
- hadoop的FileSplit简单使用
- passwd
- 直方图均衡与平台直方图
- 二进制颜色代码大全(含图)透明度与十六进制代码转换
- samba.set
原创粉丝点击
热门IT博客
热门问题
老师的惩罚
人脸识别
我在镇武司摸鱼那些年
重生之率土为王
我在大康的咸鱼生活
盘龙之生命进化
天生仙种
凡人之先天五行
春回大明朝
姑娘不必设防,我是瞎子
云电脑破解版无限制免登录
云免
仙帝归来云青全文免txt
冰灵云免
云免流
云电脑破解版无限制2017免登录
国内免备案云主机
云免流量软件
云免流量平台
云兔免流
云免流软件
快云免流
免备案云
云服务器 免备案
免备案 云服务器
国内免备案云服务器
免备案的云主机
云虚拟主机免备案
免备案的云服务器
云主机 免备案
云主机免备案
张骧云
潘伍云
爱云兔
云兔影院
爱云兔云手机
爱云兔怎么开启挂机辅助
云兔云手机
轩子巨2兔私人定制资源蓝奏云
跃兔
飞兔云传
紫兔
夜兔
兔啾啾
乌兔
巨兔
兔鹰
兔心
兔影
兔漫
轩兔