[mythtv-users] who runs backend, mythtv-setup
Frank Phillips
frankalso at gmail.com
Wed Mar 25 21:35:11 UTC 2015
On Wed, Mar 25, 2015 at 3:54 PM, James Miller <gajs-f0el at dea.spamcon.org>
wrote:
> Found the following in the (somewhat dated) MythTV article on the Arch
> wiki:
>
> Security
>
> You may want to have the backend run as the previously-created mythtv user:
>
> This is a good idea since all user jobs are run as the same user as the
> user running the backend. If the backend is run as root, all user jobs will
> be run with root privileges.
>
> Edit /etc/conf.d/mythbackend
>
> MBE_USER='mythtv'
>
> So, is it better to have the mythtv user run the BE, like they advise? Is
> editing that file in that way still the right way to ensure that this
> happens, if so?
>
>
Yes, I have always started mythbackend as the mythtv user. Obviously, your
storage group directories will need write permission for that user, and the
user should be part of the groups to give it necessary hardware access.
That config file is from the previous init system. If your distro uses
systemd, just make sure "User=mythtv" is in the service file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150325/dc0cd599/attachment.html>
More information about the mythtv-users
mailing list