That's true. However, as I've explained, that line is commented out while I'm debugging the issue with the username. I suppose, push comes to shove that I can use an empty sudoers file except for that one line in order to make absolutely certain nothing else is interfering, but since Aaron Konstam verified that is /should/ work as I have it (as well as others) I don't think I need to go that drastic.
The one thing I haven't done is post my entire sudoers file. I will if anyone thinks it'll help.
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
This overrides my wheel group entry and works fine.
Alan
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.
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@alldigital.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - Memory is the second thing to go, but I can't remember the first! - ----------------------------------------------------------------------
On Thu, Mar 29, 2012 at 1:33 PM, Mark Haney markh@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/ ?