Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2003 09:03:28 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        "Marc B. Blake" <m@MarcBlake.com>
Cc:        questions@freebsd.org
Subject:   Re: Command not found
Message-ID:  <3F422020.60501@potentialtech.com>
In-Reply-To: <4.2.0.58.20030818220005.02e65948@MarcBlake.com>
References:  <4.2.0.58.20030818220005.02e65948@MarcBlake.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Marc B. Blake wrote:
> I'm trying to run the htpasswd utility with Apache and I'm getting an 
> error: Command not found.
> 
> I'm new to UNIX and not sure what I can do to resolve this.

I'm directing followups to questions@freebsd.org, as that's the correct
place for a questions like this.

htpasswd is part of the Apache webserver.  Have you installed Apache?
If you've _just_ installed Apache, many shells do not immediately
recognize new programs after installation.  The default BSD shell is
one of these.  To get around the problem, either logout/log back in
or issue the "rehash" command to tell the shell to refresh it's
list of installed programs.  If you aren't sure if you have Apache
installed, issue "pkg_info | grep apache" and see if it's listed.
If Apache isn't installed, read the ports/packages section of the
handbook for help:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

Hope this helps.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F422020.60501>