sudo permissions for jenkins

Ewoud Kohl van Wijngaarden ewoud+ovirt at kohlvanwijngaarden.nl
Tue Jul 23 20:48:46 UTC 2013


On Tue, Jul 23, 2013 at 04:27:08PM -0400, Mike Burns wrote:
> I have a task that is currently not allowed due to the current sudo
> rules.  I need to be able to run the edit-node tool to generate
> ovirt-node isos containing vdsm.  This tool requires root or sudo
> access.
> 
> The problem is that I'm extracting the tool from it's rpm since it's
> generated in a different jenkins job.  The execution is done with a
> command like this:
> 
> sudo ${WORKSPACE}/edit-node <options>
> 
> AFAIK, this can't be handled in the sudoers file in any easy way.
> 
> Any suggestions?  Or maybe simply enable universal passwordless sudo?

I was wondering the same thing in http://gerrit.ovirt.org/17261. Since
we already give permission to yum and cp to /etc/yum.repos.d, it's not
hard to get some package to install extra sudo rules for yourself and
have full sudo.



More information about the Infra mailing list