ubuntu/linux Sorry, user xxx is not allowed to execute '/bin/su' as root on Internal

ubuntu/linux Sorry, user xxx is not allowed to execute '/bin/su' as root on Internal.

创建了新账号,使用sudo提示错误信息:

Sorry, user xxx is not allowed to execute '/bin/su' as root on Internal.

解决办法:

检查vim /etc/sudoers中 ALL=(ALL:ALL) ALL书写正确

root    ALL=(ALL:ALL) ALL

修改/etc/sudoers提示错误

xxx is not in the sudoers file.This incident will be reported

解决方法:xxx is not in the sudoers file.This incident will be reported

原文地址:https://www.cnblogs.com/chenxinming-top/p/9473086.html