htpasswd
Create and manage htpasswd files to protect web server directories using basic authentication. tldr-pages
On several platforms
Several platforms
Create/overwrite htpasswd file
htpasswd -c path/to/file usernameIdentifyAdd user to htpasswd file or update existing user
htpasswd path/to/file usernameIdentifyAdd user to htpasswd file in batch mode without an interactive password prompt (for script usage)
htpasswd -b path/to/file username passwordIdentifyDelete user from htpasswd file
htpasswd -D path/to/file usernameIdentifyVerify user password
htpasswd -v path/to/file usernameIdentifyDisplay a string with username (plain text) and password (MD5)
htpasswd -nbm username passwordIdentify