<div class="gmail_quote">On 11 November 2012 21:50, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

On 11/11/2012 08:51 AM, Martin Moores wrote:<br>
...<br>
&gt; ...  when the authentication box popped up for starting the backend.<br>
<br>
Hi;<br>
<br>
Adding to sudoers.d/ can eliminate the authentication popup.<br>
<br>
If your backend start and stop commands as defined in backend setup look like:<br>
<br>
 sudo stop mythtv-backend<br>
 sudo start mythtv-backend<br>
<br>
Then the following eliminates the prompt for sudo:<br>
<br>
  #<br>
  # Local MythTV /etc/sudoers.d/mythtv file.<br>
  #<br>
<br>
  User_Alias MYTHTV_USERS = yourUserNameHere, mythtv<br>
<br>
  Cmnd_Alias MYTHTV_COMMANDS =    \<br>
      /sbin/stop mythtv-backend,  \<br>
      /sbin/start mythtv-backend<br>
<br>
  MYTHTV_USERS ALL=NOPASSWD: MYTHTV_COMMANDS<br>
<br>
Naturally, if your start/stop commands are different, the contents<br>
of the above need to be changed.<br>
<br>
Whenever I work with sudoers, I keep an extra open terminal *already*<br>
running sudo -s, just in case a typo/braino trashes the ability to<br>
use sudo.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Bill<br></font></span></blockquote><div><br>Bill, thanks for the tip on that.  I don&#39;t go into mythtv-setup often, so it doesn&#39;t cause me great issue entering my password every now and then, can see this being useful for other activities though.<br>

<br>Cheers<br><br>Martin <br></div></div><br>