• OPENWRT make menuconfig错误之一


    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 

     

  • 相关阅读:
    设计模式-总览
    restful
    springmvc异常统一处理(二)
    springmvc参数校验(二)
    跨语言的RPC
    更安全的RPC接口
    RPC版 “Hello World”
    用例(Use Case)
    参与者
    数据库知识基础入门
  • 原文地址:https://www.cnblogs.com/rohens-hbg/p/4837743.html
Copyright © 2020-2023  润新知