On Saturday 19 December 2020 03:32:07 Gene Heskett wrote:
Now I need some cross permissions help.
I have added two dcop commands to my backup.sh that are:
/opt/trinity/bin/dcop kmail KMailIface pauseBackgroundJobs
and:
/opt/trinity/bin/dcop kmail KMailIface resumeBackgroundJobs
Specified as Cmdholdit
and Cmdresume
and called as
$Comdholdit
and
$Cmdresume
But this script run as amanada, who is part of the backup group
and this error or generated:
ERROR: Couldn't attach to DCOP server!
when backup.sh is launched by amanda.
I interpret this error to mean that amanda does not have rights to use
dcop.
I, as user 1000 do, that command works without any reported error for me.
So, how do I add the backup group (or the user amanda) to the list of
users who can access dcop and send kmail a msg?
Thanks.
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>