Skip to content

Instantly share code, notes, and snippets.

@PsycheShaman
Created March 6, 2021 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PsycheShaman/8dde6de5c15e526eb5727df90065fd60 to your computer and use it in GitHub Desktop.
Save PsycheShaman/8dde6de5c15e526eb5727df90065fd60 to your computer and use it in GitHub Desktop.
sudo apt-get install apache2-utils
htpasswd -B -C 10 password.db newusername
# To verify that the password was created correctly, you can run:
htpasswd -v password.db newusername
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment