DragonFly On-Line Manual Pages

Search: Section:  


MHTPASSWD(8)           DragonFly 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> DragonFly 6.5-DEVELOPMENT December 1, 2010 DragonFly 6.5-DEVELOPMENT

Search: Section: