当前位置: 首页 > Linux

linux用户xxx不允许执行'-bin-su'

时间:2023-04-07 01:03:03 Linux

ubuntu/linux抱歉,不允许用户xxx在Internal上以root身份执行'/bin/su'。创建了一个新帐户并使用sudo提示错误消息:Sorry,userxxxisnotallowedtoexecute'/bin/su'asrootonInternal.解决方法:检查vim/etc/sudoers中的ALL=(ALL:ALL)ALL是否写对rootALL=(ALL:ALL)ALL修改/etc/sudoers提示errorxxxisnotinthesudoersfile.会报这个事件解决方法:xxx不在sudoers文件中,会报这个事件