www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmuer <reto.bachm...@trialox.org>
Subject Re: run commands as the Hudson user on minerva
Date Tue, 23 Mar 2010 11:26:27 GMT
thanks, it seems I'm getting one step further:

reto@minerva:/home/hudson/hudson-slave/workspace/clerezza-trunk-1.6/trunk-1.6$
/home/hudson/tools/maven/latest/bin/mvn deploy
reto@minerva:/home/hudson/hudson-slave/workspace/clerezza-trunk-1.6/trunk-1.6$
sudo -u hudson -H bash
[sudo] password for reto:
Sorry, user reto is not allowed to execute '/bin/bash' as hudson on
minerva.apache.org.
reto@minerva:/home/hudson/hudson-slave/workspace/clerezza-trunk-1.6/trunk-1.6$
sudo -u hudson -H /home/hudson/tools/maven/latest/bin/mvn deploy
[sudo] password for reto:
Sorry, user reto is not allowed to execute
'/home/hudson/tools/maven/latest/bin/mvn deploy' as hudson on
minerva.apache.org.

how could I get those rights?

Cheers,
reto

On Tue, Mar 23, 2010 at 11:58 AM, Justin Mason <jm@jmason.org> wrote:

> try
>
> sudo -u hudson -H bash
>
> --j.
>
> On Tue, Mar 23, 2010 at 10:54, Reto Bachmann-Gmuer
> <reto.bachmann@trialox.org> wrote:
> > following
> >
> http://wiki.apache.org/general/Hudson#How_do_I_run_commands_as_the_Hudson_user.3FI
> > try to try to do a build as hudson user to see what might go wrong
> > with
> > the clerezza builds. However it doesn't seem to work:
> >
> > reto@minerva:~$ sudo su - hudson
> > [sudo] password for reto:
> > reto@minerva:~$ whoami
> > reto
> >
> > Cheers,
> > reto
> >
>
>
>
> --
> --j.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message