<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 4, 2013 at 3:11 PM, Bill Meek <span dir="ltr">&lt;<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>&gt;</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 class="im">On 09/04/2013 01:13 PM, Daryl McDonald wrote:<br>

...<br>
</div><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<div class="im"><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>
</div></blockquote>
<br>
...<div class="im"><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></div>
When that editor presents you with a file, it automatically appends<br>
the &quot;.tmp&quot; portion. Just remove it - probably backspacing.  If you&#39;re<br>
uncomfortable, just try editing a file such as /tmp/justTesting, save<br>
it and edit it again. When you&#39;re comfortable, apply your new knowledge<br>
to /etc/sudoers.d/mythtv.<div class="im"><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 have done little tests; setting a recording in the near future, then<br>
logging out or shutting down, and upon these failures I have deemed it not<br>
working. Am I not giving it enough time to react? Which should I use<br>
shutting down or logging out?  Which command?<br>
</blockquote>
<br></div>
Remember that there is an option to prevent idle shutdown if a recording is<br>
coming up. I don&#39;t know what value you chose.<br>
<br>
Make sure your &quot;setting a recording in the near future&quot; is greater than that<br>
value. I use 10 minutes, but it&#39;s completely up to you.<br>
<br>
Logging out, may work. Shutting down will absolutely *not* work. In order<br>
for scheduled wakeup to work, you must let the backend set the clock and<br>
shutdown your host.<br>
<br>
And, don&#39;t forget, you can look in your backend&#39;s log file for clues. As<br>
well as using the mythshutdown -c command discussed earlier.<br>
<br>
You&#39;re getting very close to a working solution.<div class=""><div class="h5"><br>
<br>
-- <br>
Bill<br>
______________________________<u></u>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/<u></u>listinfo/mythtv-users</a></div></div></blockquote><div><br></div><div>I think I need to make one more correction, I backspaced the &quot;.tmp&quot; suffix off the file name, hit enter and was asked if I wanted to overwrite the existing file, and remembering the other directory, different location, I chose no and saved it as mythtv.3, see terminal output:</div>
</div><div class="gmail_extra">daryl@daryl-A780L3C:~$ sudo cat /etc/sudoers.d/mythtv.3</div><div class="gmail_extra">%mythtv ALL = NOPASSWD: /sbin/shutdown, /usr/bin/setwakeup.sh</div><div class="gmail_extra">daryl@daryl-A780L3C:~$ sudo cat /etc/sudoers.d/mythtv</div>
<div class="gmail_extra">daryl@daryl-A780L3C:~$ </div><div>If necessary, do I use a &quot;sudo mv&quot; command to rename it? Or can I reference it as named?</div><div><br></div><div>Yes, I feel close, big time kudos to you Sir, Daryl</div>
</div></div>