Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.
This object is in archive! 

Ability to access PHPMyAdmin as a reseller from within WHM

Feature Importer shared this idea 13 years ago
Completed

As a Reseller, I want the ability to access PHPMyAdmin from within WHM, so that I can access client's databases without requesting their cPanel password from them.


We have had requests from resellers to grant them some access to their clients' databases. Often times a reseller is a web developer or similar and needs access to manage client databases. It is not ideal to have to chase down the client to request their cPanel password and resetting the password can cause further support issues.


If cPanel could add a phpMyAdmin link in WHM just as it does for the root user that would be helpful. Ideally the reseller's mysql user would be given mysql grants for all of their clients' databases automatically much in the same way that a cPanel account's default mysql user automatically gets a grant for every database the user creates from within cPanel.


Additionally/Alternatively it would be great to see some hooks created that allows us to intercept new database and database user creation/modification and perform custom checks/actions against the account.


This is a feature that has been migrated over from the cPanel Forums. All previous comments and discussions concerning this feature can be located at:

http://forums.cpanel.net/f145/reseller-phpmyadmin-access-whm-200872.html

Best Answer
photo

We plan on implementing this by setting up temp users to allow you to access phpmyadmin and phppgadmin when you login to a user's account though whm.


We also plan on adding an api call to WHMAPI1 that will allow you to create a session for a user that can be used for something like a single signon system.


These changes are expected to be available in 11.40.

Replies (4)

photo
3

This feature already exists for quite a long time ago.

photo
2

You can either:

- use phpMyAdmin as root and access your users stuff

- implement universal password hooks, safely store users passwords and access their cpanel through the API.

photo
1

for a reseller it is not possible as far as I can see (no root access, only reseller access)

Store users passwords is (I'm sorry) the worst idea ever.

The idea of a account is access with specific rights. Also logging, who does something, is linked to an account. So you should see who does something and also see if it is the user or the reseller. (this is besides the fact that you do not want to know passwords of others, at last, not as a (semi-) professional reseller.

photo
2

We plan on implementing this by setting up temp users to allow you to access phpmyadmin and phppgadmin when you login to a user's account though whm.


We also plan on adding an api call to WHMAPI1 that will allow you to create a session for a user that can be used for something like a single signon system.


These changes are expected to be available in 11.40.

Replies have been locked on this page!