Ubuntu用超级管理员root帐户登录
2015-10-07 00:10
246 查看
转载请标明出处:/article/8809943.html
本文出自【吴孝城的CSDN博客】
一、设置root登录
Ubuntu想要用root帐户登录,可在普通帐户权限下打开终端,输入
保存
如果还没给root帐户设置密码的在终端输入
/article/8809934.html
设置好后重启,
终端输入
登录后打开终端
可以看到是
root@wu:~#
root超级管理员帐户登录的
二、错误出现
登录后如果出现
Error found when loading /root/.profile:
stdin:is not a tty
As result the session will not be configured correctly.
You should fix the problem as soon as feasible.
解决方法
终端输入
把它改为
我是把它注释掉,重写一行的
当然,这一步可以在前面设置管理员root登录时完成,用root权限sudo执行就行
保存,重启系统
OK
本文出自【吴孝城的CSDN博客】
一、设置root登录
Ubuntu想要用root帐户登录,可在普通帐户权限下打开终端,输入
cd /usr/share/lightdm/lightdm.conf.d在打开的文档后加
greeter-show-manual-login=true
保存
如果还没给root帐户设置密码的在终端输入
sudo passwd root输入密码,详细看
/article/8809934.html
设置好后重启,
终端输入
reboot等启动后点击登录 >> 输入root >> 输入密码 >> 登录
登录后打开终端
可以看到是
root@wu:~#
root超级管理员帐户登录的
二、错误出现
登录后如果出现
Error found when loading /root/.profile:
stdin:is not a tty
As result the session will not be configured correctly.
You should fix the problem as soon as feasible.
解决方法
终端输入
gedit /root/.profile在打开的文档找到
mesg n
把它改为
tty -s && mesg n
我是把它注释掉,重写一行的
当然,这一步可以在前面设置管理员root登录时完成,用root权限sudo执行就行
保存,重启系统
OK
相关文章推荐
- Java中@Override的作用
- mysql net start mysql 服务器名无效
- tcp协议中的三次握手和四次挥手
- 替换html元素
- android 多渠道打包(转)
- Bing词典分析
- [Lintcode] Validate Binary Search Tree
- Parity game
- log4j日志的5中级别
- Codevs p1025 选菜
- 字符型_自动类型转换_强制类型转换_类型提升问题JAVA009-010
- ocp-140
- 华为oj_查找输入整数二进制中1的个数
- Ubuntu安装jdk-7u80-linux-i586
- ocp-150
- ocp-149
- ocp-148
- UVAlive 1808 Best Position(FFT)
- Solr学习资料
- 贪心算法(算法分析与设计)