打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
ubunt下修改具root权限的文件
     most Files in folders such as /etc  are belonged root users. but ubunt donn't permit normal users  modify it. because the permission of these files are set to 644.
    when install some software  we may need to modify these files ,here two ways for us to get the permission :
1
#  sudo -i
#  gedit  yourFile

sudo -i  command can change user to root in terminal, now you can use all of the command as root users.
when finish editing the file ,remember to close it , the terminal will automatically return to current user.

2
#sudo gedit yourFile

this can open the file with root permission, you can modify it , save it and so on.. when close it ,the terminal also will return to current usr.
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
gedit命令是什么
Ubuntu系统设置默认用户为root并自动登录(详解)
Ubuntu笔记(持续更新)
STM32高级开发(4)
Ubuntu 16.04 安装ftp服务器传输文件
Linux的RWX权限管理实现详解及chmod使用
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服