Is it me or is it sudo?

Rick Stevens rstevens at corp.alldigital.com
Thu Mar 29 18:21:07 UTC 2012


On 03/29/2012 10:33 AM, Mark Haney 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.

Did you use visudo or just vi? Using vi on /etc/sudoers isn't a good
idea generally (permissions, syntax checking, etc.)
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-  Memory is the second thing to go, but I can't remember the first! -
----------------------------------------------------------------------


More information about the users mailing list