[mythtv-users] ACPI

Daryl McDonald darylangela at gmail.com
Sun Sep 13 17:49:27 UTC 2020

On Sun, Sep 13, 2020 at 9:26 AM Bill Meek <keemllib at gmail.com> wrote:

> On 9/12/20 3:38 PM, Daryl McDonald wrote:
> > Still no joy. When I ran "sudo visudo" the comments said "consider
> creating
> > a sudoers.d file" (or something similar) which I didn't because the wiki
> > saed add this to the end of the file. Should I try the former?
> Use: man visudo to see the options. You're looking for the --file switch
> and could enter a path like /etc/sudoers.d/mythtv
> Personal note, if you're touching anything related to sudoers[.d/*], then
> open at least one other terminal window and type: sudo -i in it. That way
> you can recover from errors you make (I made) when editing, although my
> 1st attempt was without visudo. Test from another window with: sudo -k
> and then sudo -i. You don't want to disable the sudo command, even though
> it's possible to recover from it.
> --
> Bill
> 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.

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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200913/16d1d351/attachment.htm>

More information about the mythtv-users mailing list