OnWorks favicon

htdbm - Online in the Cloud

Run htdbm in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command htdbm that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



htdbm - Manipulate DBM password databases


htdbm [ -TDBTYPE ] [ -i ] [ -c ] [ -m | -B | -d | -s | -p ] [ -C cost ] [ -t ] [ -v ]
filename username

htdbm -b [ -TDBTYPE ] [ -c ] [ -m | -B | -d | -s | -p ] [ -C cost ] [ -t ] [ -v ] filename
username password

htdbm -n [ -i ] [ -c ] [ -m | -B | -d | -s | -p ] [ -C cost ] [ -t ] [ -v ] username

htdbm -nb [ -c ] [ -m | -B | -d | -s | -p ] [ -C cost ] [ -t ] [ -v ] username password

htdbm -v [ -TDBTYPE ] [ -i ] [ -c ] [ -m | -B | -d | -s | -p ] [ -C cost ] [ -t ] [ -v ]
filename username

htdbm -vb [ -TDBTYPE ] [ -c ] [ -m | -B | -d | -s | -p ] [ -C cost ] [ -t ] [ -v ]
filename username password

htdbm -x [ -TDBTYPE ] filename username

htdbm -l [ -TDBTYPE ]


htdbm is used to manipulate the DBM format files used to store usernames and password for
basic authentication of HTTP users via mod_authn_dbm. See the dbmmanage documentation for
more information about these DBM files.


-b Use batch mode; i.e., get the password from the command line rather than prompting
for it. This option should be used with extreme care, since the password is clearly
visible on the command line. For script use see the -i option.

-i Read the password from stdin without verification (for script usage).

-c Create the passwdfile. If passwdfile already exists, it is rewritten and truncated.
This option cannot be combined with the -n option.

-n Display the results on standard output rather than updating a database. This option
changes the syntax of the command line, since the passwdfile argument (usually the
first one) is omitted. It cannot be combined with the -c option.

-m Use MD5 encryption for passwords. On Windows and Netware, this is the default.

-B Use bcrypt encryption for passwords. This is currently considered to be very

-C This flag is only allowed in combination with -B (bcrypt encryption). It sets the
computing time used for the bcrypt algorithm (higher is more secure but slower,
default: 5, valid: 4 to 31).

-d Use crypt() encryption for passwords. The default on all platforms but Windows and
Netware. Though possibly supported by htdbm on all platforms, it is not supported
by the httpd server on Windows and Netware. This algorithm is insecure by today's

-s Use SHA encryption for passwords. Facilitates migration from/to Netscape servers
using the LDAP Directory Interchange Format (ldif). This algorithm is insecure by
today's standards.

-p Use plaintext passwords. Though htdbm will support creation on all platforms, the
httpd daemon will only accept plain text passwords on Windows and Netware.

-l Print each of the usernames and comments from the database on stdout.

-v Verify the username and password. The program will print a message indicating
whether the supplied password is valid. If the password is invalid, the program
exits with error code 3.

-x Delete user. If the username exists in the specified DBM file, it will be deleted.

-t Interpret the final parameter as a comment. When this option is specified, an
additional string can be appended to the command line; this string will be stored
in the "Comment" field of the database, associated with the specified username.

The filename of the DBM format file. Usually without the extension .db, .pag, or
.dir. If -c is given, the DBM file is created if it does not already exist, or
updated if it does exist.

The username to create or update in passwdfile. If username does not exist in this
file, an entry is added. If it does exist, the password is changed.

The plaintext password to be encrypted and stored in the DBM file. Used only with
the -b flag.

Type of DBM file (SDBM, GDBM, DB, or "default").

Use htdbm online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    A set of Python extension modules that
    wrap the cross-platform GUI classes from
    wxWidgets.. Audience: Developers. User
    interface: X Window System (X11), Win32 ...
    Download wxPython
  • 2
    This is the Total War pack file manager
    project, starting from version 1.7. A
    short introduction into Warscape
    modding: ...
    Download packfilemanager
  • 3
    A network traffic tool for measuring
    TCP and UDP performance with metrics
    around both throughput and latency. The
    goals include maintaining an active
    iperf cod...
    Download IPerf2
  • 4
    fre:ac - free audio converter
    fre:ac - free audio converter
    fre:ac is a free audio converter and CD
    ripper for various formats and encoders.
    It features MP3, MP4/M4A, WMA, Ogg
    Vorbis, FLAC, AAC, and Bonk format
    support, ...
    Download fre:ac - free audio converter
  • 5
    Write your chatbot logic once and
    connect it to one of the available
    messaging services, including Amazon
    Alexa, Facebook Messenger, Slack,
    Telegram or even yo...
    Download BotMan
  • 6
    gerbv  a Gerber (RS-274X) viewer
    gerbv a Gerber (RS-274X) viewer
    Gerbv is an open source Gerber file
    (RS-274X only) viewer. Gerbv lets you
    load several files on top of each other,
    do measurements on the displayed image,
    etc. ...
    Download gerbv a Gerber (RS-274X) viewer
  • 7
    I/O performance Analysis Tool.
    Audience: Developers, Information
    Technology, Science/Research, System
    Administrators. User interface: Win32
    (MS Windows). Progr...
    Download Iometer
  • More »

Linux commands