解决xxx is not in the sudoers file. This incident will be reported的错误:
原因:linux默认没有开启sudo权限
解决方法:
#su -
#chmod u+w /etc/sudoers
#visudo
在root ALL=(ALL) ALLZ下 添加xxx ALL=(ALL) ALL
#chmod u-w /etc/sudoers
解决is not in the sudoers file问题
猜你喜欢
转载自androider.iteye.com/blog/1074597
今日推荐
周排行