Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

htdigest (1)

Name

htdigest - manage user files for digest authentication

Synopsis

htdigest [ -c ] passwdfile realm username

Description

HTDIGEST(1)                        htdigest                        HTDIGEST(1)



NAME
       htdigest - manage user files for digest authentication


SYNOPSIS
       htdigest [ -c ] passwdfile realm username



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



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


SECURITY CONSIDERATIONS
       This program is not safe as a setuid executable. Do not make it setuid.




ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE    |
       +---------------+----------------------+
       |Availability   | web/server/apache-24 |
       +---------------+----------------------+
       |Stability      | Uncommitted          |
       +---------------+----------------------+
NOTES
       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source         was         downloaded         from          https://ar-
       chive.apache.org/dist/httpd/httpd-2.4.39.tar.gz

       Further information about this software can be found on the open source
       community website at https://httpd.apache.org/.



Apache HTTP Server                2018-07-06                       HTDIGEST(1)