请问 15.4 如何取得root账户
Tofloor
poster avatar
sunshaolin
deepin
2017-03-03 19:51
Author
如题在15.4 如何获取root账户 ?请高手赐教。谢谢。

Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-03-03 20:10
#1
root登录?

sudo su 就可以切换
Reply View the author
avatar
sunshaolin
deepin
2017-03-03 20:25
#2
https://bbs.deepin.org/post/135479
root登录?

sudo su 就可以切换

终端输入 sudo su  注销重启后还是没有root 账户啊,
Reply View the author
avatar
jingle
deepin
2017-03-03 20:27
#3
https://bbs.deepin.org/post/135479
终端输入 sudo su  注销重启后还是没有root 账户啊,

这些都是临时切换的
Reply View the author
avatar
sunshaolin
deepin
2017-03-03 20:37
#4
https://bbs.deepin.org/post/135479
这些都是临时切换的

谢谢您的热心回复。我想编辑hosts文件 请问如何搞?
Reply View the author
avatar
185******04
deepin
2017-03-03 20:42
#5
哈哈,我也是啊
Reply View the author
avatar
153******45
deepin
2017-03-03 20:56
#6
15.3用sudo打开文件管理器,15.4直接在文件管理器右键选管理员权限打开
Reply View the author
avatar
cyx980622
deepin
2017-03-03 21:07
#7
https://bbs.deepin.org/post/135479
谢谢您的热心回复。我想编辑hosts文件 请问如何搞?

sudo gedit /etc/hosts
Reply View the author
Comments
renzhi
2017-03-07 01:20
我也一直这么干的,哈哈
avatar
markson
deepin
2017-03-03 21:58
#8
sudo 命令就行的
Reply View the author
avatar
ylsc633
deepin
2017-03-03 22:04
#9
sudo  vim  /etc/hosts   

输入当前账号密码

然后按 A 键

然后编辑   

再然后 按 esc

再输入 :wq   

即可!
Reply View the author
avatar
sunshaolin
deepin
2017-03-07 00:07
#10
https://bbs.deepin.org/post/135479
sudo  vim  /etc/hosts   

输入当前账号密码

谢谢 按照你的办法成功更换 HOSTS,谢谢您了。只是不能直接删除再更换编译好的HOSTS。
Reply View the author
avatar
markson
deepin
2017-03-07 00:24
#11
sudo su命令就可以在终端执行root账户,输入gedit就可以用文件编辑器编辑任何文本文件
Reply View the author
avatar
Experience
deepin
2017-03-07 00:36
#12
sudo gedit /etc/hosts 意思是临时以root身份运行gedit文本编辑器并使用gedit文本编辑器打开/etc目录下的hosts文件。
Reply View the author