Ubunt下开启ROOT帐户
来源:互联网 发布:linux tomcat 日志查看 编辑:程序博客网 时间:2024/05/22 12:58
首先,为glp登陆,
新安装的ubuntu默认不能使用root,需要我们手动开启。
在终端中输入:#sudo passwd root
[sudo] password for gaavv: 123456
Enter new UNIX password: (在这输入你的密码)123456
Retype new UNIX password: (确定你输入的密码)123456
passwd: password updated successfully
以后,如果再想获得root权限,只需进行如下的操作:
#su root 或者 #su - // 进入root
Password: (在此输入你上面设置的密码)
#exit //退出root
如设置登录面板,使其实现root登录。
#cd /usr/share/lightdm/lightdm.conf.d/ 进入目录
#vi 50-unity-greeter.config //编辑: 50-unity-greeter.config
#sudo gedit 50-unity-greeter.config
添加如下代码,保存退出
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
greeter-show-manual-login=true #手工输入登陆系统的用户名和密码
allow-guest=false #不允许guest登录
如果要再次禁用root帐号,
那么可以执行:#sudo passwd -l root
在刚修改完root权限自动登录后,发现开机出现以下提示:
Errorfound when loading /root/.profile
stdin:isnot a tty…………
解决方法:在终端中用命令gedit/root/.profile,打开文件后找到“mesgn”,
将其更改为"tty -s && mesg n"
保存重启
- Ubunt下开启ROOT帐户
- ubuntu下开启root帐户
- ubunt系统中如何切换到root帐户?
- Ubuntu下修改root帐户密码
- Ubuntu下root帐户启用 备忘
- Ubuntu下修改root帐户密码
- ubuntu下设置root帐户的密码
- ubuntu下设置root帐户的密码
- Ubuntu下修改root帐户密码,使用root登录
- mac 下开启root用户
- ubuntu 11.10 下开启ROOT
- fedora下开启root用户
- ubuntu下开启root用户
- Ubuntu下开启root登陆
- Ubuntu下开启root登录
- linux ubunt 忘记密码 root
- ubunt-12.04-LTS root登录
- Ubunt使用root用户登录
- Android Studio的7.0模拟器的File explorer显示空白的问题
- 前端组件库大合集-必备收藏
- 关于mysql 删除数据后物理空间未释放(转载)
- 语音识别
- python 中函数传递数值(知乎转载)
- Ubunt下开启ROOT帐户
- Java消息中间件---基础篇
- Spring异常: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
- PHP 调用Java Dubbo服务(Dubbo、Hessian、JsonRPC)
- Linux----阿里云服务器配置多个FTP账号
- JSP页面间传递参数方法介绍
- PHPStorm使用技巧及快捷键
- 使用nsupdate命令时报错:update failed: SERVFAIL
- bcmath.so