[mythtv-users] Carbon Footprint

Karl Newman newmank1 at asme.org
Wed Sep 4 19:43:57 UTC 2013


On Wed, Sep 4, 2013 at 12:11 PM, Bill Meek <keemllib at gmail.com> wrote:

> On 09/04/2013 01:13 PM, Daryl McDonald wrote:
> ...
>
>> I am following, all the way. I removed from the README ; pasted your
>> command into the terminal, used ctrl+x to which it asked if I wanted to
>> save ; to which I typed Y ; and now I have this screen:
>>    GNU nano 2.2.6         File: /etc/sudoers.d/mythtv.tmp
>>   Modified
>>
>> %mythtv ALL = NOPASSWD: /sbin/shutdown, /usr/bin/setwakeup.sh
>>
>
> ...
>
>  File Name to Write: /etc/sudoers.d/mythtv.tmp
>>
>> ^G Get Help         M-D DOS Format      M-A Append          M-B Backup
>> File
>> ^C Cancel           M-M Mac Format      M-P Prepend
>>
>> and I have no idea where to go from here
>>
>
> When that editor presents you with a file, it automatically appends
> the ".tmp" portion.
>

Actually, I think visudo gives it that name for editing purposes, then it
does some syntax sanity checking before moving it back to the actual target
file. I believe that's the point of using visudo instead of just vi--it's
specifically designed for editing sudoer syntax files and tries to keep you
from locking yourself out of sudo by bad syntax. I bet if you just saved it
as the filename presented (with the .tmp extension), it would then do the
right thing.

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130904/f8649217/attachment.html>


More information about the mythtv-users mailing list