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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM