Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Find password for admin


turbotim

Recommended Posts

Posted

I have been hired by a company to get their system accessible. The person who built it is long gone and they do not know their passwords to access the admin control panel. I looked in /includes/configure.php OR /includes/local/configure.php and found this

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'XXXXX');

define('DB_SERVER_PASSWORD', 'XXXXXX');

 

XXXX - are the name and password blanked out to protect my client.

 

So I tried these to get access to the admin section using the link below

 

http://www.XXXX.com/XXXXX/catalog/admin

 

comes up with the login box but the name and password do not work. Is there another place to find the admin password and user name ???

 

Thanks !!!

Posted

The username and password that you've got from configure.php, is only for accessing the database.

 

The admin section is usually protected by a .htaccess protection on that folder. You can create a new user or change the current password using the features in you cPanel.

 

Hope that helps... :blush:

Posted
The username and password that you've got from configure.php, is only for accessing the database.

 

The admin section is usually protected by a .htaccess protection on that folder. You can create a new user or change the current password using the features in you cPanel.

 

Hope that helps... :blush:

 

How do I create a new password and how do I access cPanel ??

 

Thanks so much.

Posted

First, you'll need to know who is the web host. Then go to its website and look around. Usually, they'll have an FAQ or tutorial section where they teach you how to access their control panel. Some even teaches you how to password protect a directory using htaccess. However, you'll need another set of username and password to get into the control panel. If you do not have, you'll have to contact their support and convince them that you are from the company you claim.

 

Good luck.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...