如何获取root 权限修改grub.cfg
Tofloor
poster avatar
lnb10086
deepin
2016-09-22 23:22
Author
rt
deepin系统如何获取权限呢,老是显示权限不够
Reply Favorite View the author
All Replies
avatar
jingle
deepin
2016-09-22 23:39
#1
sudo gedit /boot/grub/grub.cfg
直接就可以了啊
Reply View the author
avatar
Lyvnee
deepin
2016-09-22 23:41
#2
没用编辑器你怎么修改,你可以使用gedit,vim,nano等文本编辑器打开
Reply View the author
avatar
guojian
deepin
2016-09-22 23:44
#3
sudo chmod +w boot.cfg
Reply View the author
avatar
132******13
deepin
2016-09-23 00:57
#4
你sudo -i之后要编辑的话需要在文件前面加上编辑器(gedit、vim、emacs等),你这样是直接把该文件当做可执行文件来执行,而这类配置文件默认是禁止直接执行的,所以就会提示权限不够。
Reply View the author