KineoTech clients can post non sensitive support questions here for KineoTech staff and clients to answer. You can search the forums for answers to your questions. Also make sure that you've searched through the "Knowledge Base" before posting here.

CPanel / PHPMyAdmin question

Postby matchstick » Mon Nov 09, 2009 8:40 pm

Hi,

Not really all that important - but I realised something about implementation of security tonight and felt this may allow something helpful (to me at least)...

I often visit PHPMyAdmin directly in form of clientdomain:port/3rdparty/phpMyAdmin/index.php (sorry, that's kinda from memory). Then prompted for a username / password (which is the same as CPanel user / pass). However, if I'm logged into Cpanel, I'm still prompted for the username and pass. If I logout of Cpanel, it doesn't log me out of PhpMyAdmin (as session stays live).

Long story short, is it therefore possible to define an alternate username / password for PhpMyAdmin. I occassionally deal with contractors; I can offer a temporary FTP account which is then easy to remove after work has commenced. I'd rather not offer full Cpanel access; never had a problem with any of them, but something about doing that, I'm not keen on. Plus, it means the hassle of a password change (which means I then have to update my paper account record and my secure online vault record). If I could define a temporary account to access PhpMyAdmin, that would be great.

Is it possible?


Thanks,
andy
matchstick
 
Posts: 91
Joined: Mon Jul 27, 2009 10:10 am

Re: CPanel / PHPMyAdmin question

Postby matchstick » Mon Nov 09, 2009 8:49 pm

Hmm... this is odd - changed password for this account via WHM and can login to CPanel ok. However, on trying the direct link (as listed previously), I get an 'Access Denied' error (not the usual behaviour which is to prompt for user and pass again).

This is same as trying to access via CPanel... So it appears I've broken something by changing the password :(
matchstick
 
Posts: 91
Joined: Mon Jul 27, 2009 10:10 am

Re: CPanel / PHPMyAdmin question

Postby matchstick » Mon Nov 09, 2009 8:50 pm

And suddenly it's working again... Sorry for multi-posting, finding this odd! :wtf:

Just ignore me, I'll go back into the corner in a moment!! :mrgreen:
matchstick
 
Posts: 91
Joined: Mon Jul 27, 2009 10:10 am

Re: CPanel / PHPMyAdmin question

Postby dkg » Mon Nov 09, 2009 8:57 pm

I love it when I find people talking to themselves on a forum :clap: :wave:

I believe you are experiencing the wonders of http authentication. And, I do not believe you could have multiple username/passwords for one cPanel account.

Have you thought about just installing your own copy of phpMyAdmin? The stand-alone script asks for a MySql username/password at startup and then any databases available to that user are there to manage. The benefit of this is that you can also be running the latest version of phpMyAdmin and it can be secured anyway you like. I can't see any reason why this wouldn't work. phpMyAdmin is just another PHP script and it accesses the MySQL system just like any other PHP script.
Dave G.
User avatar
dkg
Site Admin
 
Posts: 338
Joined: Fri Mar 06, 2009 10:18 am
Location: Beaver Cove, ME USA

Re: CPanel / PHPMyAdmin question

Postby matchstick » Tue Nov 10, 2009 12:00 am

*sigh*.. It's always me that seems to do the 'one-sided-conversation' on forums too! :?

I think I'll need to go down that route - thankfully you're right about the simplicity of installs, past experiences have been really positive (the complexity of the script obviously led me to believe it must be a right pain to install, but it's pretty simple).

Thanks for confirming and for joining in on the thread too ;)
matchstick
 
Posts: 91
Joined: Mon Jul 27, 2009 10:10 am


Return to KineoTech Support Forum

  • VISITORS

Users browsing this forum: No registered users and 1 guest