Skip to content

Instantly share code, notes, and snippets.

@YasuhiroABE
Last active April 5, 2022 01:05
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 YasuhiroABE/e0ce411176766fb8d35263257f2969e3 to your computer and use it in GitHub Desktop.
Save YasuhiroABE/e0ce411176766fb8d35263257f2969e3 to your computer and use it in GitHub Desktop.
#!/bin/bash
## Filling following variables in the randomized text
## e.g. $ openssl rand -hex 8
## b3122cf15fc5a41e
username=""
password=""
htpasswd -nbBC12 $username $password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment