Re: Password prompt like nine times

2013-09-05 Thread Mike Tutkowski
Thanks, everyone! On Thu, Sep 5, 2013 at 7:10 AM, Tracy Phillips wrote: > On Thu, Sep 5, 2013 at 3:05 AM, sebgoa wrote: > > > > > On Sep 5, 2013, at 1:30 AM, Kelven Yang wrote: > > > > > You need to make sudo-ers no-password required > > > > > > > bad idea, someone compromises your account an

Re: Password prompt like nine times

2013-09-05 Thread Tracy Phillips
On Thu, Sep 5, 2013 at 3:05 AM, sebgoa wrote: > > On Sep 5, 2013, at 1:30 AM, Kelven Yang wrote: > > > You need to make sudo-ers no-password required > > > > bad idea, someone compromises your account and he is root. > > > True. But they are on your box unauthorized, its just a matter of time be

Re: Password prompt like nine times

2013-09-05 Thread Tracy Phillips
>From my /etc/sudoers (btw, use visudo to edit with) cloud ALL =NOPASSWD : ALL In my /etc/sudoers.d/cloudstack cloud ALL =NOPASSWD : ALL Seems redundant but that was what the install script put in. T On Thu, Sep 5, 2013 at 3:05 AM, sebgoa wrote: > > On Sep 5, 2013, at 1:30 AM, Kelven Yan

Re: Password prompt like nine times

2013-09-05 Thread sebgoa
On Sep 5, 2013, at 1:30 AM, Kelven Yang wrote: > You need to make sudo-ers no-password required > bad idea, someone compromises your account and he is root. > Kelven > > On 9/4/13 4:10 PM, "Tracy Phillips" wrote: > >> On Wed, Sep 4, 2013 at 6:47 PM, Mike Tutkowski >> >> wrote: >> >>> Hi,

RE: Password prompt like nine times

2013-09-04 Thread Rajesh Battala
=(ALL) NOPASSWD:ALL " Thanks Rajesh Battala -Original Message- From: Ian Duffy [mailto:i...@ianduffy.ie] Sent: Thursday, September 5, 2013 9:22 AM To: CloudStack Dev Subject: Re: Password prompt like nine times > do you see any error in what I'm doing in that little clip I provide

Re: Password prompt like nine times

2013-09-04 Thread Ian Duffy
> 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

Re: Password prompt like nine times

2013-09-04 Thread Mike Tutkowski
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 wrote: > This is what I have been using. I did

Re: Password prompt like nine times

2013-09-04 Thread Ian Duffy
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 Tutko

Re: Password prompt like nine times

2013-09-04 Thread Mike Tutkowski
This is what the relevant part of my sudoers file (on Mac OS X and Ubuntu 12.04.1) looks like: # User privilege specification rootALL=(ALL) ALL mtutkowski ALL=(ALL) NOPASSWD: ALL %admin ALL=(ALL) ALL On Wed, Sep 4, 2013 at 6:39 PM, Mike Tutkowski wrote: > Yeah, CSMS = CloudStack Managemen

Re: Password prompt like nine times

2013-09-04 Thread Mike Tutkowski
Yeah, CSMS = CloudStack Management Server Should this work? root ALL=(ALL) NOPASSWD: ALL On Wed, Sep 4, 2013 at 5:30 PM, Kelven Yang wrote: > You need to make sudo-ers no-password required > > Kelven > > On 9/4/13 4:10 PM, "Tracy Phillips" wrote: > > >On Wed, Sep 4, 2013 at 6:47 PM, Mike Tut

Re: Password prompt like nine times

2013-09-04 Thread Kelven Yang
You need to make sudo-ers no-password required Kelven On 9/4/13 4:10 PM, "Tracy Phillips" wrote: >On Wed, Sep 4, 2013 at 6:47 PM, Mike Tutkowski >> 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 passwor

Re: Password prompt like nine times

2013-09-04 Thread Tracy Phillips
On Wed, Sep 4, 2013 at 6:47 PM, Mike Tutkowski 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 thou