BUILDDBM(8)

NAME
builddbm - build a DBM version of Radius users database

SYNOPSIS
builddbm [-d config_dir] [input_file]

builddbm -h

NOTE
The information in this manpage may be obsolete or incomplete. Please refer to texinfo documentation for full information about GNU Radius tools.

DESCRIPTION
Builddbm converts the plaintext Radius users database into DBM files. Some versions of Radius daemon have used this to speed up the access to the users database.

Howewer in this implementation of Radius daemon things go the other way around. The server reads entire plaintext database, converts it into internal form and stores into hash table which provides for fast access. Actually, using DBM version of the users database slows down the access unless the machine which runs Radius daemon is short of address space for the daemon to store the users database into.

Optionally, Radius daemon can use both plaintext and DBM databases, in which case it first looks up the user in the former, and if not found, continues search in the latter.

OPERATION
When used without arguments, builddbm utility attempts to convert file /users into /users.db or /users.pag, /users.dir pair depending on the version of DBM library used.

If used with one argument, the argument is taken as the name of the plaintext database file to operate upon.

OPTIONS

-d  Specifies alternate directory for the Radius users database files. This defaults to .

-i  Specifies alternate input file.

-h  Outputs short usage summary and exits with 0 exit code.

FILES

/users
    Default plaintext database.

/users.db
    Default output file.

AUTHORS
Sergey Poznyakoff, gray@farlep.net

SEE ALSO
users(5rad), radiusd(8rad), config(5rad)