ali aboos

Linux: htpasswd: command not found

by on Jan.24, 2009, under Linux

Ooops!

It’s easy… if you have Apache installed then it means it’s not in your path. Did you complile your Apache yourself? If so it should be here:
/path-to-your-apache-folder/bin/htpasswd

Want to add it to your path:
PATH=$PATH:/path-to-your-directory

Or create a .bash_profile in your home directory and add that variable there, then execute
source ~/.bash_profile

Works for everything else as well!

CC0 1.0 To the extent possible under law, the creator has waived all copyright and related or neighboring rights to this work.


Leave a Reply

Time limit is exhausted. Please reload CAPTCHA.

Search InsaneLabs.com

Can't find what you're looking for? Drop a comment on a post or email (ali aht insanelabs doht com)

Links

Links open in a new window