The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Remote password change

Discussion in 'General Discussion' started by angelodag, May 5, 2009.

  1. angelodag

    angelodag Member

    Joined:
    Dec 3, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hello,
    Is there a way to change a user/domain password remotely using a php script?
    Thanks in advance!
     
  2. angelodag

    angelodag Member

    Joined:
    Dec 3, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hello,
    Any ideas?
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Using the XML API, you can change a cPanel user's password by using the passwd function of the XML API documented at:

    http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/AutomationIntegration/ChangePassword

    If you prefer to use a pre-built PHP 5 class to interact with cPanel/WHM's XML API, visit the following thread:

    http://forums.cpanel.net/showthread.php?t=111897
     
  4. angelodag

    angelodag Member

    Joined:
    Dec 3, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Thanks a lot!
     
Loading...

Share This Page