linux user xxx is not allowed to execute '/bin/su'

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

    原文作者:风v月
    原文地址: https://segmentfault.com/a/1190000016000404
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞