[mythtv-users] Running as root
R. G. Newbury
newbury at mandamus.org
Thu Oct 5 19:37:30 UTC 2006
Paul A Pick wrote:
>> 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>
AH HAH1 THANK YOU!
This thread has now (finally) produced an answer to the problem of
restarting the backend, which does not involve major steps by the user.
This thread has even produced a 'remote-friendly' answer.
Gee, I might even change over from running as root!
R. Geoffrey Newbury
Helping with the HTTP issue
<a href="http://www.w3.org/Protocols/">HTTP</a>
More information about the mythtv-users
mailing list