I'm running 13.10. Clean install. Ran: sudo apt-get install apache2
I would expect that I would have htpasswd in the /usr/sbin directory along with the apache2 executable. I don't.
I can provide any info necessary.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityPerhaps you have apache2-utils not installed. Try searching apache-utils in software manager or with command line:
sudo apt-get install apache2-utils
username@host:~$ htpasswd
The program 'htpasswd' can be found in the following packages:
* apache2-utils
* mini-httpd
Try: sudo apt-get install <selected package>
The error message is obvious. sudo apt-get install apache2-utils
should solve your problem with missing htpasswd
binary.
htpasswd
is covered here, while you could create a separate question with apache reinstall.