htpasswd [-c] file user
The -c, if present, tells htpasswd to create a new passwd file of the
specified name instead of editing an old one.
file is the
pathname of the user file you wish to edit. The
parameter is the name of the user you wish to add or edit.
If htpasswd finds the user you specified, it will ask you to change the user's password. Type the new password (it will ask twice). httpd will then update the file.
If htpasswd doesn't find the specified user, it will ask you to give the user an initial password.
groupname: member1 member2 ...
Or, each line contains the name of a group, and a list of members separated by spaces.
Return to Administration Overview