<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Mar 25, 2015 at 10:08 AM, Hika van den Hoven <span dir="ltr"><<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hoi Hika,<br>
<div><div class="h5"><br>
Wednesday, March 25, 2015, 2:45:40 PM, you wrote:<br>
<br>
> Hoi James,<br><br>
</div></div>To clarify further, some users (like sshd, ldap, mail, mysql, apache<br>
and off cause root, bin, daemon, etc.) are always created with the<br>
same numerical uid. mythtv is not one of them.<br>
If it is created automatically it is probably created with a mythtv<br>
maingroup, but you could use any. I use smbmedia as my network wide<br>
group for mythtv and other media things.<br><div class=""><div class="h5"><br></div></div></blockquote><div><br></div><div>The ebuild checks to see if a username of "mythtv" exists.  If not, then it creates one and assigns it to the appropriate groups:</div><div><br></div><div><a href="http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-tv/mythtv/mythtv-0.27_p20140321.ebuild?revision=1.3">http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-tv/mythtv/mythtv-0.27_p20140321.ebuild?revision=1.3</a><br></div><div><br></div><div>MYTHTV_GROUPS="video,audio,tty,uucp"<br></div><div><br></div><div>pkg_setup() {<br></div><div><span class="" style="white-space:pre">   </span>        python_set_active_version 2</div><div><span class="" style="white-space:pre">    </span>        python_pkg_setup</div><div><span class="" style="white-space:pre">       </span>        enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS}</div><div><span class="" style="white-space:pre">     </span>        usermod -a -G ${MYTHTV_GROUPS} mythtv</div><div><span class="" style="white-space:pre">  </span>}</div></div><br></div><div class="gmail_extra">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.</div></div>