<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 4, 2013 at 3:43 PM, Karl Newman <span dir="ltr"><<a href="mailto:newmank1@asme.org" target="_blank">newmank1@asme.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="im"><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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On 09/04/2013 01:13 PM, Daryl McDonald wrote:<br>
...<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style: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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style: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></div>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.<span class=""><font color="#888888"><br>
<br></font></span></div><span class=""><font color="#888888"><div class="gmail_extra">Karl<br></div></font></span></div>
<br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a></blockquote><div>OK, but at this point it is without it's ".tmp" distinction and has a ".3" tag instead. How do I or should I change it? Or should I have let it overwrite the "mythtv" file newly created in sudoers.d? And again how? sorry to be such a newbie. Terminal output in previous post (and again below) shows the "mythtv" file, if I'm reading correctly, with nothing written in it, right? </div>
<div><br></div><div><div>daryl@daryl-A780L3C:~$ sudo cat /etc/sudoers.d/mythtv</div><div>daryl@daryl-A780L3C:~$ </div></div><div><br></div><div>Daryl</div></div><br></div></div>