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.

Backup script for all cpanel users on a server?

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

  1. kers7754

    kers7754 Active Member

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

    I would love to be able to modify this php script:
    http://forums.cpanel.net/f49/update...stin-cook-max-hedroom-if-can-help-135265.html

    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

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    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.
     
Loading...

Share This Page