HtPasswd
Installation
SKILL.md
HtPasswd
A real htpasswd file manager for Apache/Nginx HTTP basic authentication. Create password files, add/remove users, verify passwords, and list users. Supports apr1 (Apache MD5), SHA-256, and SHA-512 hash algorithms via openssl.
Commands
| Command | Description |
|---|---|
htpasswd create <file> <user> <password> |
Create a new htpasswd file with the first user (fails if file exists) |
htpasswd add <file> <user> <password> |
Add a user to an existing file (or update password if user exists) |
htpasswd delete <file> <user> |
Remove a user from the htpasswd file |
htpasswd verify <file> <user> <password> |
Verify a user's password (supports apr1, sha256, sha512, sha1, crypt) |
htpasswd list <file> |
List all users with their hash algorithm type |
htpasswd version |
Show version |
htpasswd help |
Show available commands and usage |