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

  
 
  

home | help
MHTPASSWD(8)		     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 usernames
     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 overwrittent.

     -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 ports 15.quarterly	   Dec 1, 2010			    MHTPASSWD(8)

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

home | help