Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MHTPASSWD(8)		FreeBSD	System Manager's Manual		  MHTPASSWD(8)

NAME
     mhtpasswd -- manipulate HTTP-server password files

SYNOPSIS
     mhtpasswd [-cmD] passwordfile username
     mhtpasswd -b [-c] [-dms] [-D] passwdfile username password
     mhtpasswd -n [-dms] username
     mhtpasswd -nb [-dms] username password

DESCRIPTION
     The mhtpasswd utility is used to create and update	files to store user-
     names and passwords for HTTP authentication.

     mhtpasswd uses openssl to generate	the password encrypted using crypt(),
     apache modified MD5 or digest SHA1

OPTIONS
     -b	     batch mode	password is read from the command line

     -c	     Create the	password file, if it already exists it is overwrit-
	     tent.

     -n	     Display the result	on stdout instead of writting to a password
	     file.

     -m	     Use apache	MD5 encryption.

     -d	     Use crypt() encryption. (this is default)

     -s	     Use digest	SHA1 encryption.

     -D	     Delete user.

     passwdfile
	     path to the file that contains or will contain the	user name and
	     password.

     username
	     user name to create or update.

     password
	     plaintext password	to be encrypted	for the	given user.

AUTHORS
     Baptiste Daroussin	<bapt@FreeBSD.org>

FreeBSD	13.0			  Dec 1, 2010			  FreeBSD 13.0

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=mhtpasswd&sektion=8&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help