HTDIGEST(1) BSD Reference Manual HTDIGEST(1)
htdigest - create and update user authentication files
htdigest [-c] passwordfile realm username
htdigest is used to create and update the flat-files used to store user- names, realms, and passwords for digest authentication of HTTP users. Resources available from the httpd(8) Apache web 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(8), see the Apache manual, which can be found at /var/www/htdocs/manual/. The options are as follows: -c Create the passwordfile. If passwordfile already exists, it is deleted first. passwordfile Name of the file to contain the username, realm, and password. If -c is specified, 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 username belongs. username The username to create or update in passwordfile. If username does not exist in this file, an entry is added. If it does exist, the password is changed.
dbmmanage(1), htpasswd(1), httpd(8) MirBSD #10-current March 19, 2008 1