用户名 不在 sudoers文件中,此事将被报告

it2022-05-09  26

解决方法: 1.通过编辑器来打开/etc/sudoers 2.直接使用命令visudo 打开sudoers后,如下加上自己的帐号保存后就可以了。

# User privilege specification root ALL=(ALL:ALL) ALL yeching ALL=(ALL:ALL) ALL

转载于:https://www.cnblogs.com/YeChing/p/6247231.html


最新回复(0)