Htpasswd

From Wsms

Jump to: navigation, search

Note: This page should be titled htpassed (all lowercase). It is Htpasswd due to technical limitations of Mediawiki.

Contents

htpasswd

htpasswd maintains a password file for use with Apache's basic authentication.

installation

htpasswd is installed as part of the htppd package.

common usage

Create a password file named htusers and set a password for the guest user:

[ggeller@arthur ~]$ htpasswd -c htusers guest
New password: 
Re-type new password: 
Adding password for user guest

Don't forget to configure Apache to actually use the file.

see also

20061204
20061206
Httpd
Apache
man htpasswd

Personal tools