Ubuntu 和Fedora 以roo用户自动登陆
来源:互联网 发布:mysql数据库实训 编辑:程序博客网 时间:2024/06/05 00:41
把Ubuntu安装在虚拟机里,每次启动都要输入账号密码,为了省事,让root自动登陆,如下:
1. 为root账户修改一个密码;
在终端下输入”sudo passwd root”命令,终端会提示输入当前账户密码,正确输入后,再输入两次你想要为root账户赋予的密码即可。
2. 设置root账户自动登录;
(1) 查看/etc/gdm/目录下是否存在custom.conf文件,如果存在,则直接跳到下一步,
(2)如果不存在,则依次打开”System->àAdministrationà->Login Screen”(系统->系统管理->登陆窗口),点击“Unlock”后,修改LoginScreen Settings的某一项设置,比如Enable或者Disable一下“Log in as automatically”,然后关闭该窗口,再查看一下/etc/gdm/目录下,custom.conf文件应该就会存在了。
3. 编辑/etc/gdm/custom.conf文件,修改其中的AutomaticLoginEnable,AutomaticLogin,TimedLogin三项,具体如下所示:
[daemon]
AutomaticLoginEnable=true 这个修改为true
AutomaticLogin=root 这个修改为root
TimedLoginEnable=false
TimedLogin=root 这个修改为root
TimedLoginDelay=10
DefaultSession=gnome
Fedora 以root登录:
1 vi /etc/pam.d/gdm
把 auth required …… root quiet 这行注释掉
2 vi /etc/pam.d/gdm-passwd
同上
3 vi /etc/gdm/custom.conf
在末尾增加以下:
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=root
- Ubuntu 和Fedora 以roo用户自动登陆
- Fedora 14 每次以root用户自动登陆的方法
- fedora ubuntu 自动 root登陆设置
- Ubuntu 自动以root账号登陆
- 启动Fedora只能以普通用户模式登陆,不能以Root用户模式登陆的解决方法
- Ubuntu 16.04 64bit 创建roo用户
- ubuntu lightdm test用户自动登陆
- Ubuntu以root用户自动登录
- Ubuntu以root用户自动登录
- Ubuntu以root用户自动登录
- fedora root用户登陆设置
- 将ubuntu设置为root用户自动登陆的方法
- Fedora 10 以root登陆的解决办法
- 设置用户自动登陆
- 自动ront用户登陆
- Ubuntu 16.04 开启root用户和使用root用户登陆
- 以登陆用户启动进程
- ubuntu登陆root用户
- 维度――Beijing Openparty2010年8月清雨榕香后记
- webview中拦截超链接
- c++程序员 常用工具集
- Flex在匿名方法移除自身的侦听方法
- 晶圆厂:政府无力承受之轻
- Ubuntu 和Fedora 以roo用户自动登陆
- Android无法访问本地服务器(localhost)的解决方案
- android manifest.xml中元素含义
- 让hr显示无边框有颜色某高度IE,firefox
- flash 与随机性:随机抽取(3)
- sql Text
- 《Pragmatic Programmer》读后感(二):从重复到重用,路在何方?
- android应用开机自动运行程序
- OASIS announced Content Management Interoperability Services (CMIS) Version 1.0