登录root,执行chmod 440 /usr/bin/sudo。成功。
用普通用户登录却发现,XX is not in the sudoers file。
登录root,执行visudo。找到##same thing without a password。
将wheel改为用户所在group名称.去掉注释即可。
登录root,执行chmod 440 /usr/bin/sudo。成功。
用普通用户登录却发现,XX is not in the sudoers file。
登录root,执行visudo。找到##same thing without a password。
将wheel改为用户所在group名称.去掉注释即可。