Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache passwd file
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
SillyPants
Apprentice
Apprentice


Joined: 02 Sep 2002
Posts: 154

PostPosted: Mon Dec 23, 2002 7:14 pm    Post subject: Apache passwd file Reply with quote

I'm trying to get some of my hosted directories to be restriced by passwords and I'm trying to use the mod_auth_db method for storing the access file.

i ran "dbmmanage passwords.db adduser username" as per http://httpd.apache.org/docs/howto/auth.html and it said tat it added the user, but /usr/apache/passwd doesn't exist (gentoo uses it's /etc system), but /etc/apache/passwd doesn't exist either. So where do I point my server to to find the user database?

PS- "dbmmanage passwords.db view" works as it should, so the database ids in my box, somewhere...
Back to top
View user's profile Send private message
vericgar
Retired Dev
Retired Dev


Joined: 13 Dec 2002
Posts: 79
Location: Spokane, WA

PostPosted: Wed Dec 25, 2002 5:34 am    Post subject: Reply with quote

try the directory you were in when you executed that command... I've never done auth using DBM, but I would think that command would create the db file in the current directory since no path was specified.... you could also try the following command:

find /* -iname passwords.db
_________________
+~+ Sometimes a good ole loving kick is all it needs +~+
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum