Where is htpasswd command in CentOS ? [moved]

taotoon

Well-Known Member
Nov 14, 2004
135
1
166
Where is htpasswd command in CentOS ?

Thank you very much..

2.4.20-021stab028.16.777-enterprise
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
31
473
Go on, have a guess
Not sure what that is you posted - I'm guessing it's a bastardised Virtuozzo kernel version?

Anyway, to find out where the binary is:

whereis htpasswd
 

taotoon

Well-Known Member
Nov 14, 2004
135
1
166
Yes, and whereis command didn't work.

Now I found it in /usr/local/apache/bin/htpasswd which normal user can't use it too.
 
Last edited:

Izzee

Well-Known Member
Feb 6, 2004
469
0
166
Try
locate -u
to build the db
then
locate htpasswd

It might help us to help you if you give some indication as to what you or your user wants to do.

In a users cPanel GUI they can set a user/pass on any specified directory from
Site Management/Web Protect/
Then click on the directory name you wish to protect or click on the icon to open and select a directory within that tree to protect.

:)
 
Last edited: