Mailing List Archive

Switching User When Using Web App Backend Setup
Is it necessary to switch the user (usually to mythtv) in some instances (example: fetching channels) when running the browser?

Ted L
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Switching User When Using Web App Backend Setup [ In reply to ]
On 25/11/2023 13:26, Ted L via mythtv-users wrote:

> Is it necessary to switch the user (usually to mythtv) in some instances (example: fetching channels) when running the browser?
>
> Ted L


If you mean on the client you run the browser on then no you don't need
to change the user. You can run the browser anywhere you want so it does
not matter what the user is.


The mythbackend server still does have to run under the mythtv user if
that is the user that normally runs it. Nothing has changed there the
backend still needs the correct permissions to find it's config, storage
group directories and tuners etc.


For reference it's the backend that does all the work like scanning for
channels and interacting with the database. The browser just sends API
calls to the backend machine telling it what to do so the browser end
can run on any browser that can see the backend machine. You don't have
to run it on the same machine.


Paul H.

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org