I have a PADD setup on my Raspberry Pi 3 running on Ubuntu Server 20.04.
I can successfully bypassed sudo password authentication by adding:
pihole_display ALL=(ALL) NOPASSWD:ALL
But when I try to limit to /usr/local/bin/pihole only, it doesn't work.
I looked at the file itself to see if I need to add another executable to filter out, but I didn't notice anything else.
Question is, is it possible to simply use padd.sh file and any commands in that file won't ask for sudo password?
sudoand remove it from the script. – Pilot6 Jan 17 '21 at 14:58sudoworked. I'll just add that as the answer to my own question. Thanks! – YamiYukiSenpai Jan 18 '21 at 20:33