htpasswd

htpasswd is a command line tool for creating and updating user authentication files. These files are primarily used by apache to authenticate HTTP users.

Creating a password file

CODE:
  1. htpasswd -c /path/to/.htpasswd username

Adding a user & password

CODE:
  1. htpasswd -b /path/to/.htpasswd username password

Leave a Reply

Your email address will not be published. Required fields are marked *

*


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>