> do you see any error in what I'm doing in that little clip I provided of
my sudoers file?

Its to do with the way sudo permissions are resolved. To quote the sudoers
man pages: "When multiple entries match for a user, they are applied in
order.  Where there are multiple matches, the last match is used (which is
not necessarily the most specific match)."

Your user "mtutkowski" is part of the admin group, or atleast thats my
guess. Validate this with:

$ id mtutkowski

This means the access that gets applied for "mtutkowski" is ALL=(ALL) ALL
which requires a password.

Switch around your mtutkowski and %admin lines and it should work.

e.g.

root    ALL=(ALL) ALL
%admin  ALL=(ALL) ALL
mtutkowski ALL=(ALL) NOPASSWD: ALL


On 5 September 2013 03:49, Mike Tutkowski <mike.tutkow...@solidfire.com>wrote:

> Interesting, Ian.
>
> Although maybe not as ideal as your setup, do you see any error in what I'm
> doing in that little clip I provided of my sudoers file? It doesn't seem to
> stop the password prompts.
>
> Thanks!
>
>
> On Wed, Sep 4, 2013 at 8:26 PM, Ian Duffy <i...@ianduffy.ie> wrote:
>
> > This is what I have been using. I didn't want to give my cloudstack full
> > root access via sudo.
> >
> > cloudstack ALL=NOPASSWD: /usr/bin/keytool*
> > cloudstack ALL=NOPASSWD: /bin/mkdir -p /home/cloudstack/*
> > cloudstack ALL=NOPASSWD: /bin/mount -o loop /home/cloudstack/*
> >
> >
> > On 5 September 2013 03:05, Mike Tutkowski <mike.tutkow...@solidfire.com
> > >wrote:
> >
> > > This is what the relevant part of my sudoers file (on Mac OS X and
> Ubuntu
> > > 12.04.1) looks like:
> > >
> > > # User privilege specification
> > > root    ALL=(ALL) ALL
> > > mtutkowski ALL=(ALL) NOPASSWD: ALL
> > > %admin  ALL=(ALL) ALL
> > >
> > >
> > > On Wed, Sep 4, 2013 at 6:39 PM, Mike Tutkowski <
> > > mike.tutkow...@solidfire.com
> > > > wrote:
> > >
> > > > Yeah, CSMS = CloudStack Management Server
> > > >
> > > > Should this work?
> > > >
> > > > root ALL=(ALL) NOPASSWD: ALL
> > > >
> > > >
> > > > On Wed, Sep 4, 2013 at 5:30 PM, Kelven Yang <kelven.y...@citrix.com
> > > >wrote:
> > > >
> > > >> You need to make sudo-ers no-password required
> > > >>
> > > >> Kelven
> > > >>
> > > >> On 9/4/13 4:10 PM, "Tracy Phillips" <tracp...@mantoso.com> wrote:
> > > >>
> > > >> >On Wed, Sep 4, 2013 at 6:47 PM, Mike Tutkowski
> > > >> ><mike.tutkow...@solidfire.com
> > > >> >> wrote:
> > > >> >
> > > >> >> Hi,
> > > >> >>
> > > >> >> I think this has been discussed a few times on the list before.
> > > >> >>
> > > >> >> When I start up the CSMS, I get prompted for my password about
> nine
> > > >> >>times.
> > > >> >>
> > > >> >> I thought updating the sudoers file would fix this, but it still
> > > >> >>happens.
> > > >> >>
> > > >> >> Any thoughts on this?
> > > >> >>
> > > >> >> Thanks!
> > > >> >
> > > >> >
> > > >> >Mike,
> > > >> >
> > > >> >Do you mean the Cloudstack Management Server when you say CSMS?
> > > >> >
> > > >> >What do you have in your  sudoers file?
> > > >> >
> > > >> >Tracy
> > > >>
> > > >>
> > > >
> > > >
> > > > --
> > > > *Mike Tutkowski*
> > > > *Senior CloudStack Developer, SolidFire Inc.*
> > > > e: mike.tutkow...@solidfire.com
> > > > o: 303.746.7302
> > > > Advancing the way the world uses the cloud<
> > > http://solidfire.com/solution/overview/?video=play>
> > > > *™*
> > > >
> > >
> > >
> > >
> > > --
> > > *Mike Tutkowski*
> > > *Senior CloudStack Developer, SolidFire Inc.*
> > > e: mike.tutkow...@solidfire.com
> > > o: 303.746.7302
> > > Advancing the way the world uses the
> > > cloud<http://solidfire.com/solution/overview/?video=play>
> > > *™*
> > >
> >
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *™*
>

Reply via email to