[mythtv-users] Q about users and priveleges...?
knowledgejunkie at gmail.com
Mon Jan 26 00:52:45 UTC 2009
On 26/01/2009, A JM <vbtalent at gmail.com> wrote:
> Like when creating the mysql.txt in .mythtv it wants a password - well I
> don't want to put in the password of the user I installed Myth with as that
> would give access to root if comprimised...
> Since I've installed as my "regular" user (not sure what to call it) when I
> start mythbackend won't that user need access to the DB? so that kind of
> creates a problem,,, yes/no?
The MySQL user account you use to connect to the MythTV database (and
whose details appear in mysql.txt) is separate to the Linux user
account you run mythbackend/mythfrontend as.
I also think confusion such as this arises (as Brad indicated) because
distro or packaged-based MythTV installations commonly create a
'mythtv' Linux user account, and a 'mythtv' mysql user account. This
need not be the case, you could run mythfrontend/mythbacked as Linux
user account 'foo', and have a mysql user account 'bar' to provide
access to the database. Linux user accounts and mysql user accounts
operate in separate spaces - the former for the local system, the
latter only for mysql.
A MythTV end-user (or a MythTV-centric distro) needs to ensure that
their mysql account(s) has sufficient privileges to use the MythTV
database from any hosts they use, in addition to ensuring that their
system account(s) has permission to use capture
cards/storage/audio/LIRC devices from within mythbackend/mythfrontend.
MythTV Official wiki:
MythTV users list archive:
"An investment in knowledge always pays the best interest." - Benjamin Franklin
More information about the mythtv-users