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

posted on 2018-08-14 10:34  小和尚我不念经  阅读(6478)  评论(0编辑  收藏  举报

导航