linux下”is not in the sudoers file“问题的解决办法
原因当有时候我们使用sudo命令切换用户的时候可能会遇到提示以下错误:xxx is not in the sudoers file. This incident will be reportedxxx是你当前的用户名,其实就是因为这个用户没有加入到sudo的配置文件里,解决办法就是打开配置文件加入用户权限。解决step1:用su换为root用户,并输入以下命令进入sudo配置文件step2:在配置文
原创
2017-06-02 17:04:54 ·
31765 阅读 ·
1 评论