Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual page 183

Table of Contents

Advertisement

AuthDBMUserFile /var/www/authdb AuthDBMType DB require valid-user
</Location>
Note that the
AuthDBMUserFile
The
Perl script, used to manipulate username and password databases, has been
dbmmanage
replaced by
in Apache HTTP Server 2.0. The
htdbm
functionality and, like
mod_auth_dbm
can be used on the command line to specify the format to use.
Table 10.1, "Migrating from
database to
format using
htdbm
Action
Add user to database (using
given password)
Add user to database
(prompts for password)
Remove user from database
List users in database
Verify a password
Table 10.1. Migrating from
The
and
options work with both
-m
-s
SHA1 algorithms for hashing passwords, respectively.
When creating a new database with
For more on this topic, refer to the following documentation on the Apache Software
Foundation's website:
http://httpd.apache.org/docs-2.0/mod/mod_auth_dbm.html
2.4.6. The
mod_perl
The configuration for
mod_perl
/etc/httpd/conf.d/perl.conf
the statement
Include conf.d/*.conf
Section 2.1.3, "Dynamic Shared Object (DSO)
directive can also be used in
, can operate a variety of database formats; the
to
dbmmanage
htdbm
.
dbmmanage
dbmmanage command (1.3) Equivalent htdbm
dbmmanage authdb add
username password
dbmmanage authdb adduser
username
dbmmanage authdb delete
username
dbmmanage authdb view
dbmmanage authdb check
username
to
dbmmanage
dbmmanage
, the
htdbm
Module
has been moved from
. For this file to be loaded, and hence for
must be included in
Modules and Apache HTTP Server 2.0
.htaccess
program offers equivalent
htdbm
"
shows how to migrate from a DBM-format
command (2.0)
htdbm -b -TDB authdb
username password
htdbm -TDB authdb
username
htdbm -x -TDB authdb
username
htdbm -l -TDB authdb
htdbm -v -TDB authdb
username
htdbm
and
, enabling the use of the MD5 or
htdbm
option must be used.
-c
into the file
httpd.conf
httpd.conf
Support".
files.
option
-T
to work,
mod_perl
as described in
159

Advertisement

Table of Contents
loading

Table of Contents