EnglishFrenchSpanish

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

PROGRAM:

NAME


htdbm - Manipulate DBM password databases

SYNOPSIS


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 ]

SUMMARY


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.

OPTIONS


-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
secure.

-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
standards.

-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.

filename
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.

username
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.

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

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

Use htdbm online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 2
    Freeciv
    Freeciv
    Freeciv is a free turn-based
    multiplayer strategy game, in which each
    player becomes the leader of a
    civilization, fighting to obtain the
    ultimate goal: to bec...
    Download Freeciv
  • 3
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • 4
    LMS-YouTube
    LMS-YouTube
    Play YouTube video on LMS (porting of
    Triode's to YouTbe API v3) This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/lms-y...
    Download LMS-YouTube
  • 5
    Windows Presentation Foundation
    Windows Presentation Foundation
    Windows Presentation Foundation (WPF)
    is a UI framework for building Windows
    desktop applications. WPF supports a
    broad set of application development
    features...
    Download Windows Presentation Foundation
  • 6
    SportMusik
    SportMusik
    Mit dem Programm kann man schnell und
    einfach Pausen bei Sportveranstaltungen
    mit Musik �berbr�cken. Hierf�r haben sie
    die M�glichkeit, folgende Wiedergabvaria...
    Download SportMusik
  • More »

Linux commands

Ad