LD是不是没有root权限?
Tofloor
poster avatar
sonsun211
deepin
2012-12-01 22:26
Author
请问LD在终端里怎么进root。我su,然后键入密码,提示认证失败。怎么得到root权限?
Reply Favorite View the author
All Replies
cxbii
deepin
2012-12-01 22:27
#1
终端输入 sudo su
然后输入你当前用户的密码即可切换到root权限
为了安全,默认没有root
Reply View the author
sonsun211
deepin
2012-12-01 22:41
#2
我试了,不行啊
Reply View the author
sonsun211
deepin
2012-12-01 22:42
#3
附件是刚才的截图
Reply View the author
cxbii
deepin
2012-12-01 22:44
#4
附件是刚才的截图
....按我说的 ,输入
  1. sudo su
Copy the Code
这样好么?这个是一个命令啊...
Reply View the author
4***[email protected]
deepin
2012-12-01 22:48
#5
sudo passwd root,输入自己的密码,然后会提示你输入新的密码,这个就是root的密码了,想以root身份图形界面登录的话修改这个文件/etc/lightdm/lightdm.conf ,可以终端使用如下命令:sudo gedit /etc/lightdm/lightdm.conf ,在打开的文本文件中修改成这样:
[SeatDefaults]
greeter-session=unity-greeter
user-session=deepin
greeter-hide-user=true  
greeter-show-manual-login=true
allow-guest=false  
之后重启 ,登录窗口会有“登录”选项,这时候我们就可以通过root登录了。请一定谨慎使用权限,否则会很爽的!
Reply View the author
sonsun211
deepin
2012-12-01 22:58
#6
嗯,谢了
root密码已设了,平时不用root,关键时候sudo一下就OK了
Reply View the author
cxbii
deepin
2012-12-01 23:08
#7
sudo passwd root,输入自己的密码,然后会提示你输入新的密码,这个就是root的密码了,想以root身份图形界面登录的话修改这个文件/etc/lightdm/lightdm.conf ,可以终端使用如下命令:sudo gedit /etc/lightdm/lightdm.conf ,在打开的文本文件中修改成这样:
[SeatDefaults]
greeter-session=unity-greeter
user-session=deepin
greeter-hide-user=true  
greeter-show-manual-login=true
allow-guest=false  
之后重启 ,登录窗口会有“登录”选项,这时候我们就可以通过root登录了。请一定谨慎使用权限,否则会很爽的!
最好不要用root登录吧,不小心会爽翻天的...
Reply View the author
aipie0066
deepin
2012-12-03 00:34
#8
小心使用
Reply View the author