app permissions

I know somebody has asked this before simply because of the nature of the question, but here goes.

I have a program that I want to periodically run that requires superuser privileges. It’s a pain and I would like to know if there’s a way that I can run this program and only this program as my regular user and without entering my system superuser password.

Hi
I use a systemd service and timer for this sort of task… or add it via visudo, for example I use osc and build requires root access;


su -
visudo

myusername ALL=NOPASSWD: /usr/bin/build

@Scott_S:

If it’s YOUR program and code then, you can use the Wireshark approach – <https://www.wireshark.org/> –

  • Assign a system Group to your program and, add your user to that Group.