EnglishFrenchSpanish

Ad


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
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    https://github.com/CloverHackyColor/CloverBootloader..
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    UE...
    Download Clover EFI bootloader
  • 2
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • 3
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • 4
    VirtualGL
    VirtualGL
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • 5
    libusb
    libusb
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Categories...
    Download libusb
  • 6
    SWIG
    SWIG
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    different...
    Download SWIG
  • More »

Linux commands

Ad