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>
> *™*
>

Reply via email to