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!

script to change password

Discussion in 'General Discussion' started by mikerobinson, Aug 3, 2004.

  1. mikerobinson

    mikerobinson Member

    Apr 12, 2004
    Likes Received:
    Trophy Points:
    I am trying to make a custom script that my users can use to change their password (Yes I know there is one in their cPanel too). I have done a bit of research and it looks like there is a script "chpass" in the /scripts directory that changes passwords, but I do not know how to use it since the documentation is extremely limited. I tried viewing the script, but I do not have read access to it. I also do not have execution access, so when I tried simply running the script, it obviously didn't work.

    Can anyone please tell me how I would go about using this function in a php script? If anyone has any relevant links, they would also be appreciated.



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