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!

Backup script for all cpanel users on a server?

Discussion in 'Data Protection' started by kers7754, Mar 25, 2012.

  1. kers7754

    kers7754 Active Member

    Jan 13, 2011
    Likes Received:
    Trophy Points:
    I run many servers that host hundreds of shared hosting accounts.

    I would love to be able to modify this php script:

    across all accounts on a cPanel server.

    The problem is that obviously I would need to know each users login name and password and be able to change passwords when the user changes their passwords. I would also need to know what skin the user is using and be able to change it when/if they change it.

    Is there a way for an Admin to be able to get usernames and passwords for all cPanel accounts, or somehow have the ability to automatically use an admin username and password for each account?
  2. brianoz

    brianoz Well-Known Member

    Mar 13, 2004
    Likes Received:
    Trophy Points:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    There isn't a way for an admin to get user passwords as they aren't stored unencrypted for security reasons. You could probably make a way to use an admin password, but I think it's worth stepping back from the problem for a moment and defining what you actually want to accomplish.

    If it's a backup for all accounts, perhaps you could create that backup and make it available somehow.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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