htdigest - manage user files for digest authentication
Please note
This document refers to the 2.2 version of Apache httpd, which is no longer maintained. The active release is documented here. If you have not already upgraded, please follow this link for more information.
You may follow this link to go to the current version of this document.
Available Languages: en | ko | tr
htdigest is used to create and update the flat-files used
to store usernames, realm and password for digest authentication of HTTP
users. Resources available from the Apache HTTP server can be restricted
to just the users listed in the files created by htdigest.
This manual page only lists the command line arguments. For details of
the directives necessary to configure digest authentication in
httpd see the Apache manual, which is part
of the Apache distribution or can be found at
http://httpd.apache.org/.
Synopsis
htdigest [ -c ]
passwdfile realm username
Options
-c- Create the passwdfile. If passwdfile already exists, it is deleted first.
passwdfile- Name of the file to contain the username, realm and password. If
-cis given, this file is created if it does not already exist, or deleted and recreated if it does exist. realm- The realm name to which the user name belongs. See http://tools.ietf.org/html/rfc2617#section-3.2.1 for more details.
username- The user name to create or update in passwdfile. If username does not exist is this file, an entry is added. If it does exist, the password is changed.
Comments
Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Libera.chat, or sent to our mailing lists.
