On Sunday 20 December 2020 06:53:00 Stefan Krusche via tde-users wrote:
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-use r -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.
So did I, and my recent experience seems to back that up. But I also had forgotten you have to reboot to make the logins aware of changes to sudoers, possibly my mistake?
After 22 years, I'm still learning the details of linux :-)
HTH
Kind regards, Stefan ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinity desktop.org
Cheers, Gene Heskett