osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Admin password out of sync with site password

This is a discussion on Admin password out of sync with site password within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; A hacker trashed part of my site so the host advised me to change the site password immediately. I did ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-18-2004, 09:51 PM
New Member
 
Join Date: Feb 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bjrafferty
Default Admin password out of sync with site password

A hacker trashed part of my site so the host advised me to change the site password immediately. I did so. But I did not think to change the admin's password first,
so the old admin password is sitting encrypted in the database and will not let me login to the admin tool with the new password that I put in configure.php
and the site itself will not let me use the old password.

I could edit the database, but then I would have to dig into the encryption algorithm to know how to fill it out.

Any advice ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 07-19-2004, 05:43 AM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,705
Thanks: 139
Thanked 606 Times in 519 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

It is one way MD5 encryption, so there is no way to decrypt.

I guess I don't understand what you problem is. You changed the site password, but not the admin password? I thought they were the same. In max, all I ever have is one master admin and password not 2.

If you want to restore the admin password to the default, empty the admin table, then get the sql for the admin data from the installer oscmax sql file in the install dir. Add that record manaually to the admin table and you will be able to login with the default credentials again. Then simply change them after you have logged in again.
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 07-19-2004, 06:40 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 2,681
Thanks: 12
Thanked 214 Times in 196 Posts
Rep Power: 20
jpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud of
Default

And further to that - the PASSWORD in the configure.php file is for the database - not your site/admin password etc....
__________________
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 07-19-2004, 08:34 AM
New Member
 
Join Date: Feb 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bjrafferty
Default

What I finally did was to change the password at the host back to the previous password and made some changes.

I also remembered about the configure.php files existing in the "local" directories, and not just the "includes", and I uploaded the editted configure.php file (with the new password) to there as well.
Then I changed the site password (shich also changes the database password) to the new one.

It was just a logic problem of what to do first and next.

Thanks for your help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Lost Admin Password mamadawn osCMax v2 Installation issues 1 12-04-2006 06:04 PM
Admin password vinces osCMax v1.7 Discussion 3 11-21-2004 12:04 PM
cant change admin password Anonymous osCMax v1.7 Installation 1 02-03-2004 06:45 AM
No password in Admin goldie osCommerce 2.2 Modification Help 2 08-26-2003 01:33 PM
Admin password? pilot1 osCommerce 2.2 Installation Help 2 05-06-2003 01:23 AM


All times are GMT -8. The time now is 12:04 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design