Dear Gene,
Am Sonntag, 20. Dezember 2020 schrieb Gene Heskett via tde-users:
On the permissions issue:
Use sudo, basically the same as using sudo for yourusername to root, but replace root with yourusername and yourusername with amanada. And then get sudo to run without password.
- https://www.golinuxhub.com/2013/12/how-to-give-permission-to-user -to -run/ - https://linuxhandbook.com/sudo-without-password/
This second URL showed me how to edit the sudoers file and add this:
amanda ALL=(ALL) NOPASSWD:/opt/trinity/bin/dcop
But it still fails: root@coyote:~$ su amanda -c "/opt/trinity/bin/dcop --user gene --all-sessions kmail
editing /etc/sudoers to my understanding has no effect on 'su' because the two are different things. I read this recently on debian-users, I think.
HTH
Kind regards, Stefan