[sudo-users] sudo -u issue

Carville, Stephen scarville at LANDAM.com
Tue Jun 3 11:08:04 EDT 2008


> -----Original Message-----
> From: sudo-users-bounces at courtesan.com [mailto:sudo-users-
> bounces at courtesan.com] On Behalf Of David Halik
> Sent: Tuesday, June 03, 2008 7:09 AM
> To: sudo-users at sudo.ws
> Subject: Re: [sudo-users] sudo -u issue


 
> Unfortunately, all of that is correct. I wasn't aware of the gid
> restriction, but that's not the issue since I have the same problem if
> I
> take out that restriction. Essentially, whenever trying to use sudo -u
> it prompts me, even if I set it to:
> 
> %wheel ALL = NOPASSWD: SCRIPT
> 
> Yes, I'm in wheel. No matter I try using -u prompts me in every case...
> strange.

In the above you only have permission to run as root.

Try 

%wheel ALL = (ALL) NOPASSWD: SCRIPT

And see if -u works.

BTW, what version of sudo?  What platform?

--
Stephen Carville <scarville at landam.com>
Systems Engineer
Land America
1.626.667.1450 X1326
#####################################################################
That which does not kill us often hurts us a lot.




More information about the sudo-users mailing list