Josh Asked: 2022-06-12 16:36:11 +0800 CST 即使使用 sudoers,systemctl 仍然要求输入密码 0 我的/etc/sudoers josh ALL=(ALL) NOPASSWD: /usr/bin/systemctl restart servicename.service 运行systemctl restart servicename.service仍然要求输入密码。有没有人有任何想法? 运行命令:locate systemctl 显示它位于:/usr/bin/systemctl sudo