httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Brandt <>
Subject Re: mod_authz_dbm
Date Tue, 05 Jul 2016 15:56:46 GMT
Hi Rich,

take a look at line 84 to 90 from the source code [1]
That might help you.

The dbmmanage is availabe in the bin folder on a regular build [2]. On
Windows the name is due the windows limitation of the
need of a file extension.
The basic usage[3]

So you can download the perl script and play with it.


mario@box:/opt/apache2/bin$ ./dbmmanage
Usage: dbmmanage [enc] dbname command [username [pw [group[,group] [comment]]]]

    where enc is  -d for crypt encryption (default except on Win32, Netware)
                  -m for MD5 encryption (default on Win32, Netware)
                  -s for SHA1 encryption
                  -p for plaintext

    command is one of: add|adduser|check|delete|import|update|view

    pw of . for update command retains the old password
    pw of - (or blank) for update command prompts for the password

    groups or comment of . (or blank) for update command retains old values
    groups or comment of - for update command clears the existing value
    groups or comment of - for add and adduser commands is the empty value

On 4 July 2016 at 22:08, Rich Bowen <> wrote:
> The mod_authz_dbm docs are making me crazy, and I could use some help.
> In particular, the docs say:
> The group file is keyed on the username. The value for a user is a
> comma-separated list of the groups to which the users belongs. There
> must be no whitespace within the value, and it must never contain any
> colons.
> However, there's no indication of how one much actually create such a
> file. Can someone give me a pointer as to how I'd go about creating this
> file?
> Related: the dbmmanage utility, while documented, is not actually
> available (ie, as packages) on the Fedora/CentOS and Debian/Ubuntu
> families of Linux distros, so solutions involving dbmmanage are
> frustrating, at best.
> --
> Rich Bowen - - @rbowen
> - @apachecon
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message