Jump to content

cpanel password retrieval


toggle

Recommended Posts

Im implementing a cms that automatically installs when an account is created.

The only problem is i need the cpanel password that gets created at time of creation so i can use it in the script to create the database and users.

 

Whmcs uses [password] in its emails. is there a way to parse that from whmcs in any way. or any way in php to get the cpanel password?

 

Cheers

Toggle

Link to comment
Share on other sites

If you have root access to the servers, you can run a script from postwwwacct that does that for you - all the variables are there, though you'll need to check out the info at cpanel.net to find out the exact syntax. Otherwise you should be able to use a WHMCS "Action Hook" to get the result you want.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated