RE: Password prompt like nine times

2013-09-05 Thread Rajesh Battala
) 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 provided of my sudoers file

Re: Password prompt like nine times

2013-09-05 Thread sebgoa
On Sep 5, 2013, at 1:30 AM, Kelven Yang kelven.y...@citrix.com 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 tracp...@mantoso.com wrote: On Wed, Sep 4, 2013 at 6:47 PM, Mike

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 run...@gmail.com wrote: On Sep 5, 2013, at 1:30

Re: Password prompt like nine times

2013-09-05 Thread Tracy Phillips
On Thu, Sep 5, 2013 at 3:05 AM, sebgoa run...@gmail.com wrote: On Sep 5, 2013, at 1:30 AM, Kelven Yang kelven.y...@citrix.com 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,

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 tracp...@mantoso.com wrote: On Thu, Sep 5, 2013 at 3:05 AM, sebgoa run...@gmail.com wrote: On Sep 5, 2013, at 1:30 AM, Kelven Yang kelven.y...@citrix.com wrote: You need to make sudo-ers no-password required bad

Password prompt like nine times

2013-09-04 Thread Mike Tutkowski
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 Tutkowski* *Senior CloudStack

Re: Password prompt like nine times

2013-09-04 Thread Tracy Phillips
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

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 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,

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 mike.tutkow...@solidfire.com wrote:

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

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 i...@ianduffy.ie wrote: This is what I have

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