Skip to content

Instantly share code, notes, and snippets.

@ruby-fu-ninja
Created July 28, 2013 23:39
Show Gist options
  • Save ruby-fu-ninja/6100740 to your computer and use it in GitHub Desktop.
Save ruby-fu-ninja/6100740 to your computer and use it in GitHub Desktop.
Genereate httpasswd without apache tools
root@li615-48:~# echo -e "your-username:`perl -le 'print crypt("your-password","salt")'`" > /path/to/httpasswd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment