Re: ISM - run backups as a user other than root?
Posted in 2010
On 28/07/2010 16:47, malc_p wrote:
> Bugger me I think it works; just ran an onbar backup of a couple of
> dbspaces as user informix and got no errors.
>
> I added the following entries to the ‘/opt/sudo/etc/sudoers/sudoers’ file:
>
> User_Alias IMIX=informix,dba
>
> (at the end of the existing user aliases)
>
> And:
>
> IMIX ALL=(ALL) NOPASSWD:/opt/informix/bin/onbar
>
> IMIX ALL=(ALL) NOPASSWD:/opt/informix/bin/savegrp
>
> (In the “user privilege specification’ section)
>
> So it looks like the call to savegrp is covered.
> Thanks for your help, Clive, appreciated!
Ignoring the comedians sideshow - you're welcome
And you PROBABLY don't need the sudoers entry for savegrp as it's being
run by onbar that is 'already' root
--
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.