教你一招1:让hk 用户获得root权限

    修改 /etc/sudoers 文件,找到下面一行,在root下面添加一行,如下所示:

       ## Allow root to run any commands anywhere
          root    ALL=(ALL)     ALL
          hk   ALL=(ALL)     ALL
posted on 2018-08-01 15:19  cnking345  阅读(182)  评论(0编辑  收藏  举报