barkster Posted December 29, 2008 Share Posted December 29, 2008 is it possible to access the cpanel database to do your own authentication? I've seen a few hacks at posting to the login page but I would like to build my own login page and have my own user section without going into cpanel? Is this possible? Is the cpanel information stored in mysql? I would like to be able to authenticate cpanel users and email users accounts? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/138786-accessing-cpanel-database/ Share on other sites More sharing options...
Maq Posted December 29, 2008 Share Posted December 29, 2008 You should have full access to it. It's just like normally connecting to a database on your server. All the settings should be the same except the database selection. Quote Link to comment https://forums.phpfreaks.com/topic/138786-accessing-cpanel-database/#findComment-725665 Share on other sites More sharing options...
barkster Posted December 29, 2008 Author Share Posted December 29, 2008 I guess what I was asking is what is the database called and the tables associated with the cpanel user and email users. I dug around in the "mysql" database and found cpanel users but can't find the email accounts? Quote Link to comment https://forums.phpfreaks.com/topic/138786-accessing-cpanel-database/#findComment-725684 Share on other sites More sharing options...
Mchl Posted December 29, 2008 Share Posted December 29, 2008 Was cPanel intalled by you, or by your hosting provider. If the latter, it's quite probable you won't be able to modify it in any way. Quote Link to comment https://forums.phpfreaks.com/topic/138786-accessing-cpanel-database/#findComment-725689 Share on other sites More sharing options...
barkster Posted December 30, 2008 Author Share Posted December 30, 2008 Not by me but I'm on a VPS server so I would image I have full access. Quote Link to comment https://forums.phpfreaks.com/topic/138786-accessing-cpanel-database/#findComment-726494 Share on other sites More sharing options...
bluesoul Posted December 30, 2008 Share Posted December 30, 2008 Not by me but I'm on a VPS server so I would image I have full access. That cPanel may rely on a central user DB (all the users on the physical server), I'd ask your host where the info is stored and if it's possible to code your own script. Quote Link to comment https://forums.phpfreaks.com/topic/138786-accessing-cpanel-database/#findComment-726501 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.