Allow program to make changes

Yes, this can be achieved with the NOPASSWD directive in the /etc/sudoers file. Editing this file should only be done by an experienced user, because it is a system-critical file and mistakes could be difficult to troubleshoot.

  1. Edit the file from the terminal with sudo visudo -f /etc/sudoers
  2. Add this line under the user privilege specification section, %admin ALL= NOPASSWD: /absolute/path/to/your/program
  3. Save the file.

The visudo command uses your editor set in the VISUAL variable or if that is unset, the EDITOR variable. Please refer to the visudo(8) man page.