OPENWRT make menuconfig错误之一
2015-09-25 11:47
519 查看
1、make menuconfig rm: cannot remove `tmp/.host.mk': Permission denied
退到trunk上级目录sudo chown -R 777 trunk
2、hbg 不在 sudoers 文件中。此事将被报告。
sudo命令可以让你以root身份执行命令,来完成一些我们这个帐号完成不了的任务。
其实并非所有用户都能够执行sudo,因为有权限的用户都在/etc/sudoers中呢。
我们可以通过编辑器来打开/etc/sudoers,或者直接使用命令visudo来搞定这件事情。
打开sudoers后,像如下那样加上自己的帐号保存后就可以了。
root ALL=(ALL:ALL) ALL
hbg ALL-(ALL:ALL) ALL
# Allow members of group sudo to execute any command %sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
退到trunk上级目录sudo chown -R 777 trunk
2、hbg 不在 sudoers 文件中。此事将被报告。
sudo命令可以让你以root身份执行命令,来完成一些我们这个帐号完成不了的任务。
其实并非所有用户都能够执行sudo,因为有权限的用户都在/etc/sudoers中呢。
我们可以通过编辑器来打开/etc/sudoers,或者直接使用命令visudo来搞定这件事情。
打开sudoers后,像如下那样加上自己的帐号保存后就可以了。
root ALL=(ALL:ALL) ALL
hbg ALL-(ALL:ALL) ALL
# Allow members of group sudo to execute any command %sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
相关文章推荐
- Linux学习日记--基础命令(7)--bash中的变量,配置文件
- Linux学习日记--基础命令(6)--grep及正则表达式
- Linux学习日记--基础命令(5)--用户和组概念与管理--文件权限
- 网站渗透测试
- PowerShell 4.0实现自动化设置服务器
- Linux学习12_每天一个linux命令(42):kill命令
- Intellij Idea中运行tomcat 报內存溢出 解决方案
- linux 驱动之led子系统(一)
- 算法为王:且看Mac Mini如何超越1636节点的Hadoop
- navigationController在pop时,指定pop到某个页面
- Shell脚本调用mysql语句
- Sqoop问题总结
- Linux设备模型--kobject & kset
- Linux中find常见用法
- mesos和Elasticsearch设计(Docker部署)(二)
- Linux c 获取和设置本地时间的方法
- linux中Find命令的使用
- linux下文件数、目录数、文件名长度的各种限制
- Google Shell Style Guide
- Google Shell Style Guide