User name and password for web interface

General discussion about Universal Media Server (no support or requests)
Post Reply
therealrockguy
Posts: 2
Joined: Wed Mar 13, 2019 12:41 am

User name and password for web interface

Post by therealrockguy »

Good day,
First off, love this software. Thank you to all that contributed to making it what it is today.

I'm using ubuntu with ums 7.8.0. I have mostly everything setup and can access the ums in the LAN and out in the WAN.
What I would like to do is set a username and password for now on the web server.
What I've done:
added two line in UMS.conf:
web_authenticate = true
media.server = test,test

added a line in UMS.cred:
media.server = test,test

Adding what I did enabled a username password screen to pop up when entering my web address. But the username and password don't work. Is there something I'm missing? or doing wrong ?

Thank you in advance

Chris
therealrockguy
Posts: 2
Joined: Wed Mar 13, 2019 12:41 am

Re: User name and password for web interface

Post by therealrockguy »

I've been looking at this for an hour or so. As soon as I posted I figured it out. So easy.

UMS.cred

web.server = test,test

UMS.conf

web_authenticate = true
web.server = test,test
gokul
Posts: 2
Joined: Thu Jun 11, 2020 3:42 pm

Re: User name and password for web interface

Post by gokul »

Thank you for this, but can you explain a little more on how you got this to work.
I use UMS 9.4
I use Ubuntu server 20.04
I tried to edit the UMS.conf and UMS.cred like you mentioned but nothing worked for me

My questions:
1. does this test,test need to be an actual user in the system?
2. do i need to restart any services after this is done or reboot the system?
3. do i need to create this user in my apache?

Any help on this will be really appreciated.
gokul
Posts: 2
Joined: Thu Jun 11, 2020 3:42 pm

Re: User name and password for web interface

Post by gokul »

I tried it myself, nothing is required except for what you have mentioned. This is really good. Thank you for your original post. Much appreciated.
Post Reply