User Tools

Site Tools


htpasswd

You can use the htpasswd command to create username and encrypted password for .htpasswd files.
Note: NEVER user online tools to encypt passwords, this is NOT safe.


-c = Create the passwdfile. If passwdfile already exists, it is rewritten and truncated. This option cannot be combined with the -n option.


Updating file with new user

htpasswd /path/to/file/.htpasswd username
You will then be prompted to enter a password that will be encrypted


Creating new file

htpasswd -c /new/path/.htpasswd username
You will then be prompted to enter a password that will be encrypted

htpasswd.txt · Last modified: 2024/05/23 07:26 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki