<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><hr id="stopSpelling">Let's run the setwakeup.sh command as the mythtv user (in order to test<br>
that the sudoers.d/mythtv file is doing it's job. Do this:<br>
<br>
&nbsp; &nbsp; sudo su mythtv<br>
&nbsp; &nbsp; sudo /usr/bin/setwakeup.sh 1390000000<br>
&nbsp; &nbsp; exit<br>
<br>
You *shouldn't* get prompted for a password. What is the result?<BR><div><div dir="ltr"><div class="ecxgmail_extra"><div class="ecxgmail_quote"><blockquote class="ecxgmail_quote" style="padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><div class="ecxim"><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>
</div><a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/<u></u>listinfo/mythtv-users</a></blockquote><div><br></div><div>Well,I think you've zoomed in on the problem with that chain of commands. I did get asked for the password however.</div>
<div>&nbsp;</div><div>&nbsp;</div><div><br>Daryl I'm not real knowledgeable about these things but if you did get asked for a password then that probably indicates a problem with your sudoers file / setup. I think when the script runs you won't get the prompt for the password when that line is executed&nbsp;(I assume because it is mid execution of the script) so it automatically fails hence why Bill put the emphasis on the password&nbsp;aspect of testing that command line. I assume sudoers needs to be set to overcome this exact failure type. Unfortunately I don't know enough to help you troubleshoot but&nbsp; you could always try (just as a once off test) the suggestion from the wiki to uncomment the following line using "sudo visudo" in the /etc/sudoers file <pre>%wheel ALL=(ALL) NOPASSWD: ALL 
</pre></div><div>and then add mythtv&nbsp;user&nbsp;to the "wheel' group.&nbsp;I believe the command to add an existing user to an existing group would be:</div><div>&nbsp;</div><div>sudo usermod -a -G&nbsp;wheel mythtv</div><div>&nbsp;</div><div>Hope this helps somewhat otherwise I will let the experts keep doing their thing!!</div><div>Mark&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div></div></div></div></div>                                               </div></body>
</html>