LinHES Forums
http://forum.linhes.org/

MythWEB default username?
http://forum.linhes.org/viewtopic.php?f=6&t=6747
Page 1 of 1

Author:  ffrr [ Thu Nov 03, 2005 2:11 am ]
Post subject:  MythWEB default username?

I have a newly installed Knopmyth R5A22 box. I just tried to access mythweb from another computer and it asks for a username and password. The unix usernames don't work.

Is there a default user and password, and if so what is it? As I am behind a firewall, I wouldn't mind turning the web page security off, if that is possible?

Also, if I have to use security, what is the correct way to add a new user? I found in the documentation that there is a command called 'htpasswd' which is used to setup password files for it. I have found a couple of different instructions and I am not sure where the password file should be placed, and if there is one already, where it is. Also, do I have to edit the httpd.conf file, or is there a default location it is already looking for passwords.

Author:  ille [ Thu Nov 03, 2005 3:12 am ]
Post subject: 

You were prompted for the password for the mythtv WEB user during installation of R5A22.

The passwords are stored in /etc/apache/basicauth

You can change the mythtv user password with this:

Code:
htpasswd /etc/apache/basicauth mythtv


You can also add new users with the same command.

If you want to turn off the security there is a script for that.
Code:
ToggleWebSecurity.sh
Usage:
/usr/bin/ToggleWebSecurity.sh -all
        Toggle security on all Apache pages

/usr/bin/ToggleWebSecurity.sh -mythweb
        Toggle security on MythWeb only

Author:  ffrr [ Thu Nov 03, 2005 3:26 am ]
Post subject: 

ille wrote:
You were prompted for the password for the mythtv WEB user during installation of R5A22.



Of course, I remember now. Thanks for jolting my memory. I just accessed mythweb successfully.
ille wrote:
The passwords are stored in /etc/apache/basicauth

You can change the mythtv user password with this:

Code:
htpasswd /etc/apache/basicauth mythtv


You can also add new users with the same command.

If you want to turn off the security there is a script for that.
Code:
ToggleWebSecurity.sh
Usage:
/usr/bin/ToggleWebSecurity.sh -all
        Toggle security on all Apache pages

/usr/bin/ToggleWebSecurity.sh -mythweb
        Toggle security on MythWeb only


Thanks. I have stored these instructions where I won't lose them.

Great help.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/