Is it possible to debug when sudoers
is seemingly not working?
I'm trying to give a user called power
access rights to shut down a Synology NAS from ssh
without sudo.
Here is my one and only record for the power
user at the very end of the /etc/sudoers
file:
power ALL=(ALL) NOPASSWD:/sbin/shutdown*
When I log in as power
and issue the following command, it does not work:
power@synology:/$ shutdown -h now
shutdown: Need to be root