Hello guys, with FN 9.x I was able to execute a ssh command (passwordless ssh) from another machine which would login to FN and execute a poweroff.
To obtain this, I needed to make this script run at every boot on FN side:
echo "userxxx ALL=(ALL) NOPASSWD: /sbin/shutdown" >> /usr/local/etc/sudoers
However now, this does not seem to work anymore (after updating to FN11, as I am prompted with an error saying that this user doesnt have permission to execute /sbin/shutdown
I've also tried to grant sudo option from the GUI at this user and its group, but to no avail. What should I do?
To obtain this, I needed to make this script run at every boot on FN side:
echo "userxxx ALL=(ALL) NOPASSWD: /sbin/shutdown" >> /usr/local/etc/sudoers
However now, this does not seem to work anymore (after updating to FN11, as I am prompted with an error saying that this user doesnt have permission to execute /sbin/shutdown
I've also tried to grant sudo option from the GUI at this user and its group, but to no avail. What should I do?