[mythtv-users] Running as root
Paul A Pick
paul.pick at gmail.com
Thu Oct 5 00:17:41 UTC 2006
> My fundamental problem is
> that mythtv actually runs in 2 user space levels, root for
> the backend and user for the frontend. And if the backend
> crashes, only root can restart it, *without a reboot*. All I
> want to do, is have the user be able to fix that problem..
Add to /etc/sudoers:
mythtv ALL=NOPASSWD: /etc/init.d/mythbackend
Add to mythtv's mainmenu.xml:
<button>
<type>BACKEND</type>
<text>Restart Backend</text>
<action>EXEC sudo /etc/init.d/mythbackend restart</action>
</button>
--
Paul Pick | paul.pick at gmail.com | http://packrat.dnsalias.org/
==============================================================
I wouldn't recommend sex, drugs or insanity for everyone,
but they've always worked for me. -- Hunter S. Thompson
More information about the mythtv-users
mailing list