一般来说是提示
XXXX is not in the sudoers file. This incident will be reported.
在/etc/sudoers里面添加自己的用户名保存就可以了
记得要用root改权限 修改完之后还要改回来,不然运行不了sudo
记得要用visudo来改,不然很容易出现莫名其妙的问题
一般来说是提示
XXXX is not in the sudoers file. This incident will be reported.
在/etc/sudoers里面添加自己的用户名保存就可以了
记得要用root改权限 修改完之后还要改回来,不然运行不了sudo
记得要用visudo来改,不然很容易出现莫名其妙的问题
转载于:https://my.oschina.net/cers/blog/112463