Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't change admin password


goodwinpro

Recommended Posts

Posted

I want to be able to manage the ADMIN user access.

 

I found the correct user access table in the database (via phpMyAdmin) to make the changes. However, the passwords are encoded so I can't make a new password. And I can't change existing passwords

 

Example Admin Access......

Username: frankG

Password: 6b283bb060c269432d08ac33b47a337c0a40035d

 

This is obviously NOT the password that frankG types to log in. Any thoughts on decoding this password AND/OR creating passwords that are encoded like this for use with OSCommerce?

 

I'm thinking there had to be an interface somewhere that was used to originally create this password. But I did not set this system up, and I can't find it.

 

Please help.

Thanks

Posted

I know for customers passwords osC uses md5hash and adds two characters to the password and then encodes it. Those two characters are random as it doesn't matter what they are as it just removes the same two characters when unencoding it.

 

IF (and that is a BIG IF) the admin does the same then you can create a password for a customer account and drop it into the admin and it will work. If it doesn't then you are in TROUBLE!!!! and have to set it back using your backup that you obviously saved before doing this.

 

OR

 

Just delete FrankG as an Admin user and create a new one .... OR even better create a new user THEN delete FrankG just to be safe.

Posted
Just delete FrankG as an Admin user and create a new one .... OR even better create a new user THEN delete FrankG just to be safe.

 

Great... I would love to. However... that's a big part of the problem. I don't know where the interface is to add/delete/modify user info. I can modify customer info, but not admin info.

 

Thoughts?

Thanks

Rob

Posted

What version of osC are you using and is this the RC admin login or a MS2.2 contribution?

Posted

The comments at the top of my Index page say....

 

/*
 $Id: index.php,v 1.19 2003/06/27 09:38:31 dgw_ Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2006 osCommerce

 Released under the GNU General Public License
*/

 

So I'm assuming it's 1.19.

 

Also...

Server OS: Linux 2.6.15-26-server	  
Database: MySQL 5.0.22-Debian_0ubuntu6.06.3-log 
HTTP Server: Apache 
PHP Version: 5.1.2 (Zend: 2.1.0)

 

 

"RC admin login or a MS2.2 contribution" - I don't know. I think it's all just a stock install.

 

Thanks

Posted

When you try to log into your admin does an osCommerce page appear or a Windows box in the middle of the screen?

Archived

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

×
×
  • Create New...