View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Apr 13, 2006 10:17 pm 
Offline
Joined: Mon Apr 10, 2006 7:24 pm
Posts: 4
new to linux and sorry if this is to easy of a question but I read a couple other posts on recreating the passwords for the mythweb which refer to running htdigest to change the password and when I try to do the same I get access denied. Does mythtv need to be closed before I can run the htdigest?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 14, 2006 6:03 am 
Offline
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
You have to log in as root. Or run the "su" command and type in the root password to access the htdigest file.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 14, 2006 3:48 pm 
Offline
Joined: Mon Apr 10, 2006 7:24 pm
Posts: 4
Thanks, I was able able to recreate the file or at least it appeared I did. The main probelm I am having is logging into mythweb. I can connect just fine but when I type in my user name and password it's not taking it. I checked the error.log file and what it tells me is that -
user 'mythuser' in relam 'MythTV' not found: /mythweb

I have used firefox and explore but niether make a difference.

any thoughts on what to try or check?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 14, 2006 4:43 pm 
Offline
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
You must have modified something since the install. The important files are:
/etc/apache/httpd.conf
/var/www/htdigest
/var/www/mythweb/htaccess
To me it sounds like your htdigest file still isn't correct. I just "deleated" mine and I got the same error as you. Try the following:
Code:
su
cd /var/www
rm htdigest
htdigest ./htdigest MythTV mythtv
chmod +stx htdigest

And tell us what happens when you try to log in after that.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 14, 2006 8:02 pm 
Offline
Joined: Mon Apr 10, 2006 7:24 pm
Posts: 4
Okay, I got thru to the <rm htdigest> step but on the next line <htdigest ./htdigest MythTV mythtv> it returned with <Could not open passwd file /htdigest for reading> and also to use the -c to create a new one. When I did the <chmod> it returned that no such file existed. Trynig to use some logic I figured since I removed htdigest in the first step and it didn't create it in the next one that I would use the -c again. It didn't make a difference.

I looked to make sure the main files you listed were actully in the directories and noticed that the htdigest file was in the / directory(I don't believe it's the root but the directory up from that, I know, amature!) and that file was not where it should be /var/www/ .

Looks to me that its not creating the file where it should be. There is a hdiggest file in there.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 14, 2006 8:43 pm 
Offline
Joined: Mon Apr 10, 2006 7:24 pm
Posts: 4
Hold the presses. I got it working. Turns out that I had the htaccess file incorrect.

this is what I uncommented in the file-

AuthType Digest
AuthName "MythTV"
AuthDigestFile /var/www/htdigest
Require valid-user


Connected the dots of what you were having me try and from another post in the forum. Thanks for the help!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 15, 2006 8:42 am 
Offline
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
tick wrote:
but on the next line <htdigest ./htdigest MythTV mythtv> it returned with <Could not open passwd file /htdigest for reading> and also to use the -c to create a new one.

Ohh sorry I forgot to inculde the -c before the file name. With out it htdigest thinks you want to add on to another file. Which is not what I indended to have you do.

Good that you got it working.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 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