LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-12-2008, 01:47 PM   #1
Macphersonb
LQ Newbie
 
Registered: Jan 2008
Posts: 9

Rep: Reputation: 0
Apache with DBM On Centv5


Hello Linux Community!

I'm working on an assignment for a Linux Administration class, and i'm stuck hoping for some direction.

basically, we're creating Apache webservers with 6 separate sites, all of them utilizing different authentication methods and with different content.

I'm working on what's considered the hardest part.

The site must:
-be configured as a private website, access is to be restricted by username/password with user accounts stored in an indexed 'DB' database file /var/www/Site5pwds

So i've got a little bit of a hint (instructor never gives full answers, teaches troubleshooting) that i have to utilize dbm. Now the problem i'm having is that the script that gets mentioned in all the documentation i've found "dbmmanage" does not exist.

How would i go about manually adding that script/getting this working?

Thanks
-B

Last edited by Macphersonb; 11-12-2008 at 01:57 PM. Reason: adding tags
 
Old 11-12-2008, 03:28 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,936
Blog Entries: 5

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
It wouldn't appear to be a "script" but rather a "binary" "executable".

Looking on my RHEL5 system I didn't find it.

Apache is actually the "httpd" package on RHEL5 (and presumably CentOS which is built from RHEL source).

Running "rpm -ql httpd |grep dbm" displayed the following:
/usr/bin/htdbm
/usr/lib64/httpd/modules/mod_authn_dbm.so
/usr/lib64/httpd/modules/mod_authz_dbm.so
/usr/sbin/httxt2dbm
/usr/share/man/man1/htdbm.1.gz

/usr/bin is a location for "binary" "executables" (as is /bin, /sbin, /usr/sbin). Seeing "htdbm" made me do a "man htdbm" to see what it does. It is used for manipulating DBM files and mentions dbmmanage as a source for further documentation.

Since htdbm has a create option it looks to me like you could use it instead of dbmmanage.

Haven't used either htdbm or dbmmanage myself so can't give you much guidance on usage.
 
Old 11-12-2008, 03:37 PM   #3
Macphersonb
LQ Newbie
 
Registered: Jan 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Progress: I think i found it..it's actually a python script. Go figure.
 
Old 11-12-2008, 03:40 PM   #4
Macphersonb
LQ Newbie
 
Registered: Jan 2008
Posts: 9

Original Poster
Rep: Reputation: 0
oh! Progress! I -CAN- use htdbm! Thank you so much!
 
  


Reply

Tags
apache, authentication, centos


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL,PostgreSQL and dbm. cranium2004 Linux - Software 1 03-10-2005 03:48 PM
view vacation dbm file sohmc Linux - Software 0 10-11-2004 07:04 AM
DBM functions don't work in PHP vharishankar Programming 4 09-26-2004 09:23 PM
a problem about DBM auth in apache server lyz_faq Linux - Security 2 07-14-2004 07:00 PM
DBM help! katana Linux - General 1 06-19-2001 11:04 PM


All times are GMT -5. The time now is 11:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration