[mythtv-users] ACPI

Stephen Worthington stephen_agent at jsw.gen.nz
Mon Sep 14 02:54:36 UTC 2020

On Sun, 13 Sep 2020 08:25:46 -0500, you wrote:

>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.

That is excellent advice.  I forgot about that problem of sudo being
disabled by an sudoers file with bad syntax in it.  That is not a
problem to me as one of the first things I ever do with an Ubuntu
install is to add a password to the root account so that I can login
directly as root:

sudo passwd

I also set up SSH as allowing root logins.

More information about the mythtv-users mailing list