Change multiple cPanel account passwords at once

sneader

Well-Known Member
Aug 21, 2003
1,195
68
178
La Crosse, WI
cPanel Access Level
Root Administrator
Same problem as discussed here, back in 2007: http://forums.cpanel.net/f5/modifying-multiple-passwords-once-72294.html

I need a way to change the master password for about 150 different cPanel accounts, for one particular reseller. Anyone out there already script this or other ideas? I've never messed with the cPanel API, and not looking forward to it, for just this one project.

- Scott
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello Scott :)

There are no options available with cPanel/WHM that allow you to change the password for multiple accounts at the same time. Feel free to submit this as a feature request via:

Feature Requests for cPanel and WHM

Beyond that, you could write a script that utilizes our XML-API to change the passwords for you, as mentioned in the thread you referenced. Here is a documentation for the passwd function itself:

Password Module Documentation

Thank you.