24
Jan/09
0

Linux: htpasswd: command not found

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!

Share this article
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter
  • LinkedIn

Related posts:

  1. Linux: .htaccess and .htpasswd files
  2. Linux: Apache Tomcat tips and tricks
  3. Linux: vsftpd and symbolic links
  4. Linux: A simple and quick way of sharing a folder with Windows systems using Samba
  5. Linux: nohup: Execute a command after exiting a shell

Filed under: Linux
Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

No trackbacks yet.