[mythtv-users] MythtTV on Gentoo: resources?
Rob
bertaboy at gmail.com
Wed Mar 25 17:56:58 UTC 2015
On Wed, Mar 25, 2015 at 10:08 AM, Hika van den Hoven <hikavdh at gmail.com>
wrote:
> Hoi Hika,
>
> Wednesday, March 25, 2015, 2:45:40 PM, you wrote:
>
> > Hoi James,
>
> To clarify further, some users (like sshd, ldap, mail, mysql, apache
> and off cause root, bin, daemon, etc.) are always created with the
> same numerical uid. mythtv is not one of them.
> If it is created automatically it is probably created with a mythtv
> maingroup, but you could use any. I use smbmedia as my network wide
> group for mythtv and other media things.
>
>
The ebuild checks to see if a username of "mythtv" exists. If not, then it
creates one and assigns it to the appropriate groups:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-tv/mythtv/mythtv-0.27_p20140321.ebuild?revision=1.3
MYTHTV_GROUPS="video,audio,tty,uucp"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS}
usermod -a -G ${MYTHTV_GROUPS} mythtv
}
With regards to using the mythtv user account vs. another for running the
frontend, I'm not sure it really matters. My understanding is that both
the frontend and backend interact with the mythconverg database using the
same mysql/mariadb account (typically mythtv). As long as the frontend
isn't run under root or some other privileged account (e.g. ability to run
"rm -rf /), you should be fine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150325/2bf57897/attachment.html>
More information about the mythtv-users
mailing list