You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Antoine Toulme <an...@lunar-ocean.com> on 2011/06/22 01:52:35 UTC

Cannot sudo or su as hudson on vesta

I am pretty sure I used to be able to do this:

$> sudo su -- hudson
[sudo] password for toulmean:
Sorry, user toulmean is not allowed to execute '/usr/bin/su -- hudson' as
root on vesta.apache.org.

I must be missing something ?

Any help is welcome.

Thanks,

Antoine

Re: Cannot sudo or su as hudson on vesta

Posted by Antoine Toulme <an...@lunar-ocean.com>.
Indeed. Thanks for the help.

On Wed, Jun 22, 2011 at 08:13, Niklas Gustavsson <ni...@protocol7.com>wrote:

> On Wed, Jun 22, 2011 at 1:52 AM, Antoine Toulme <an...@lunar-ocean.com>
> wrote:
> > I am pretty sure I used to be able to do this:
> >
> > $> sudo su -- hudson
> > [sudo] password for toulmean:
> > Sorry, user toulmean is not allowed to execute '/usr/bin/su -- hudson' as
> > root on vesta.apache.org.
>
> I don't think you want a double dash in there as that will have you
> try sudoing to root, which you can not. A single dash is probably what
> you want.
>
> /niklas
>

Re: Cannot sudo or su as hudson on vesta

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Wed, Jun 22, 2011 at 1:52 AM, Antoine Toulme <an...@lunar-ocean.com> wrote:
> I am pretty sure I used to be able to do this:
>
> $> sudo su -- hudson
> [sudo] password for toulmean:
> Sorry, user toulmean is not allowed to execute '/usr/bin/su -- hudson' as
> root on vesta.apache.org.

I don't think you want a double dash in there as that will have you
try sudoing to root, which you can not. A single dash is probably what
you want.

/niklas