<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 13, 2020 at 9:26 AM Bill Meek <<a href="mailto:keemllib@gmail.com">keemllib@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 9/12/20 3:38 PM, Daryl McDonald wrote:<br>
> Still no joy. When I ran "sudo visudo" the comments said "consider creating<br>
> a sudoers.d file" (or something similar) which I didn't because the wiki<br>
> saed add this to the end of the file. Should I try the former?<br>
<br>
Use: man visudo to see the options. You're looking for the --file switch<br>
and could enter a path like /etc/sudoers.d/mythtv<br>
<br>
Personal note, if you're touching anything related to sudoers[.d/*], then<br>
open at least one other terminal window and type: sudo -i in it. That way<br>
you can recover from errors you make (I made) when editing, although my<br>
1st attempt was without visudo. Test from another window with: sudo -k<br>
and then sudo -i. You don't want to disable the sudo command, even though<br>
it's possible to recover from it.<br>
<br>
-- <br>
Bill<br><br></blockquote><div>Sorry Bill, I'm not getting this at all. But I think I received "beginner's luck" in this process. I tried to comment out the original addition to the sudoers file, while creating the sudoers.d/acpi file in a separate terminal. The "sanity check" kicked in with an error on line 30 of the sudoers file (so I removed all together my previous addition) and then was asked what I wanted to do with the new sudoers.d/acpi file, so I commented it out too. </div><div><br></div><div>So I guess now I'm asking if what I've done is functional (if I uncomment the line in /etc/sudoers.d/acpi) or do I need further education?</div></div></div>