{
    "mode": "man",
    "parameter": "htdigest",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/htdigest/1/json",
    "generated": "2026-06-03T04:25:35Z",
    "synopsis": "htdigest [ -c ] passwdfile realm username",
    "sections": {
        "NAME": {
            "content": "htdigest - manage user files for digest authentication\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "htdigest [ -c ] passwdfile realm username\n\n\n",
            "subsections": []
        },
        "SUMMARY": {
            "content": "htdigest is used to create and update the flat-files used to store usernames, realm and pass‐\nword for digest authentication of HTTP users. Resources available from the Apache HTTP server\ncan be restricted to just the users listed in the files created by htdigest.\n\n\nThis  manual page only lists the command line arguments. For details of the directives neces‐\nsary to configure digest authentication in httpd see the Apache manual, which is part of  the\nApache distribution or can be found at http://httpd.apache.org/.\n\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-c",
                    "content": "passwdfile\nName  of  the  file  to contain the username, realm and password. If -c is given, this\nfile is created if it does not already exist, or deleted and recreated if it does  ex‐\nist.\n\nrealm  The     realm     name     to     which     the     user     name     belongs.     See\nhttp://tools.ietf.org/html/rfc2617#section-3.2.1 for more details.\n\nusername\nThe user name to create or update in passwdfile. If username does not  exist  is  this\nfile, an entry is added. If it does exist, the password is changed.\n\n",
                    "flag": "-c"
                }
            ]
        },
        "SECURITY CONSIDERATIONS": {
            "content": "This program is not safe as a setuid executable. Do not make it setuid.\n\n\n\n\nApache HTTP Server                           2018-07-06                                  HTDIGEST(1)",
            "subsections": []
        }
    },
    "summary": "htdigest - manage user files for digest authentication",
    "flags": [
        {
            "flag": "-c",
            "long": null,
            "arg": null,
            "description": "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 ex‐ ist. 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."
        }
    ],
    "examples": [],
    "see_also": []
}