Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Where is htpasswd command in CentOS ? [moved]

Discussion in 'General Discussion' started by taotoon, Jan 14, 2006.

  1. taotoon

    taotoon Well-Known Member

    Joined:
    Nov 14, 2004
    Messages:
    135
    Likes Received:
    1
    Trophy Points:
    166
    Where is htpasswd command in CentOS ?

    Thank you very much..

    2.4.20-021stab028.16.777-enterprise
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. taotoon

    taotoon Well-Known Member

    Joined:
    Nov 14, 2004
    Messages:
    135
    Likes Received:
    1
    Trophy Points:
    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.
     
    #3 taotoon, Jan 14, 2006
    Last edited: Jan 14, 2006
  4. Izzee

    Izzee Well-Known Member

    Joined:
    Feb 6, 2004
    Messages:
    469
    Likes Received:
    0
    Trophy Points:
    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.

    :)
     
    #4 Izzee, Jan 14, 2006
    Last edited: Jan 14, 2006
  5. taotoon

    taotoon Well-Known Member

    Joined:
    Nov 14, 2004
    Messages:
    135
    Likes Received:
    1
    Trophy Points:
    166
    thank "locate -u" is very great!
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice