Hello everyone,
I’m trying to automate the execution of a script with sudo rights, by disabling the usage of the password for the script.
So, I modified the sudoers configuration like this :
adminuser ALL=(root) NOPASSWD: /root/.local/bin/system-updater
It works for other systems with a root user, but not with Yunohost. I think the issue come from the (root) parameter but I can’t see what to do to fix it.
Thanks for the help !