<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Sep 4, 2013 at 12:11 PM, Bill Meek <span dir="ltr"><<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 09/04/2013 01:13 PM, Daryl McDonald wrote:<br>
...<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am following, all the way. I removed from the README ; pasted your<br>
command into the terminal, used ctrl+x to which it asked if I wanted to<br>
save ; to which I typed Y ; and now I have this screen:<br>
GNU nano 2.2.6 File: /etc/sudoers.d/mythtv.tmp<br>
Modified<br>
<br>
%mythtv ALL = NOPASSWD: /sbin/shutdown, /usr/bin/setwakeup.sh<br>
</blockquote>
<br>
...<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
File Name to Write: /etc/sudoers.d/mythtv.tmp<br>
<br>
^G Get Help M-D DOS Format M-A Append M-B Backup File<br>
^C Cancel M-M Mac Format M-P Prepend<br>
<br>
and I have no idea where to go from here<br>
</blockquote>
<br>
When that editor presents you with a file, it automatically appends<br>
the ".tmp" portion.<br></blockquote></div><br>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.<br>
<br></div><div class="gmail_extra">Karl<br></div></div>