View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Nov 03, 2005 2:11 am 
Offline
Joined: Thu Oct 20, 2005 5:43 pm
Posts: 134
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 03, 2005 3:12 am 
Offline
Joined: Thu Sep 09, 2004 4:26 am
Posts: 77
Location: Sweden
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 03, 2005 3:26 am 
Offline
Joined: Thu Oct 20, 2005 5:43 pm
Posts: 134
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.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu