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(a)trinitydesktop.org
To unsubscribe send an email to users-leave(a)trinitydesktop.org
Web mail archive available at
https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinity
desktop.org
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>