Is it me or is it sudo?

William Hooper whooperhsd at gmail.com
Thu Mar 29 18:32:47 UTC 2012


On Thu, Mar 29, 2012 at 1:33 PM, Mark Haney <markh at abemblem.com> wrote:
> On 03/29/2012 11:11 AM, Alan J. Gagne wrote:
>
>>>
>>> I'm really not trying to be difficult here, but this is driving me nuts.
>>
>>
>> You could also just add a file to /etc/sudoers.d. I believe these
>> entries get processed last.
>>
>> I use the wheel group set-up with passwd in sudoers file so I just
>> added a file using sudoedit /etc/sudoers.d/utest. Then added a line
>> USERNAME ALL=(ALL) NOPASSWD: ALL
>>
>
> Huh.  Now that's just insane.  I added /etc/sudoers.d/marius file with a
> COPY&PASTE line from sudoers and the blasted thing works.  Can /anyone/
> explain that? I still don't like the fact that editing sudoers doesn't seem
> to work for me, but I'm reconciled to leaving it as is now.
> Thanks to everyone for allowing me to beat my head against the wall over
> this.

As mentioned those entries seem to be processed last.  Check the whole
sudoers file and see if your user is in any of the other groups
defined in it.  Also, do you have anything else in /etc/sudoers.d/ ?

-- 
William Hooper


More information about the users mailing list