Jump to content



Photo
- - - - -

Change Admin Password


This topic has been archived. This means that you cannot reply to this topic.
7 replies to this topic

#1   goldenglobehosting

goldenglobehosting
  • Members
  • 1 posts

Posted 10 February 2005 - 20:59

Stupid question, but how do I change the admin password for osCommerce?

Thanks. /biggrin.gif' class='bbc_emoticon' alt=':D' />

#2   icu

icu
  • Members
  • 50 posts

Posted 10 February 2005 - 21:01

open the config.php file at the very end it says password "xxxxx" change it

#3   ArtRat

ArtRat
  • Members
  • 213 posts

Posted 10 February 2005 - 21:07

the configure.php file password is the password to your database.
change that and your store will be blocked from accessing the database.


you want to change or create a password for the admin folder....
that is done by .htaccess

login to your web host cpanel or vdeck or whatever you use and look for passwod protect directory.


edit for spelling. /whistling.gif' class='bbc_emoticon' alt=':-"' />

Edited by ArtRat, 10 February 2005 - 21:08.


#4   robguay

robguay
  • Members
  • 74 posts

Posted 27 February 2005 - 15:05

I found by .htaccess file, but /pinch.gif' class='bbc_emoticon' alt='>_<' /> the info in this file did not contain anything about a username or password. (file not visible using ftp - only visible by using web admin page)

Location: Catalogs/admin/.htaccess

I did find another file called .htpasswd that did have a username and I assume password, but /pinch.gif' class='bbc_emoticon' alt='>_<' /> the password looks like it is incrypted.

File format example: username:8PUdFWyPsPRUk

Now what? Can I just throw plain text for the password?

ie robguay:test

Help Please!


#5   RikR

RikR
  • Members
  • 495 posts

Posted 27 February 2005 - 15:22

At my host, passwords are managed in the cPanel.
Rik Rasmussen

#6   Alpha Ray

Alpha Ray
  • Members
  • 1,377 posts

Posted 27 February 2005 - 15:46

I found by .htaccess file, but /pinch.gif' class='bbc_emoticon' alt='>_<' /> the info in this file did not contain anything about a username or password.  (file not visible using ftp - only visible by using web admin page)

Location: Catalogs/admin/.htaccess

I did find another file called .htpasswd that did have a username and I assume password, but  /pinch.gif' class='bbc_emoticon' alt='>_<' /> the password looks like it is incrypted.

File format example: username:8PUdFWyPsPRUk

Now what? Can I just throw plain text for the password?

ie robguay:test

Help Please!

<{POST_SNAPBACK}>

Your host should have a "Directory Password Protection" feature (or similar), if not try this free .htaccess/.htpasswd generator http://www.htmlite.com/HTA006.php

Edited by Alpha Ray, 27 February 2005 - 15:47.


#7   bnettles

bnettles
  • Members
  • 11 posts

Posted 30 May 2008 - 02:37

I have no idea what the htaccess file has to do with the administrator password. If your admin panel is locked out because you dont know your username or password, here is what you can do.

Open mysql and look in the administrators table. You will see a username and an encrypted password. Now you have your username.

To get a working password, create a normal user in oscommerce as a typical shopper and remember that password. Now go find that user in the customers table.

Copy the encrypted password from the customers table into the the password of for the user in the administrators tables.

Now log into your admin panel with a username and password that you know.

Edited by Jan Zonjee, 04 September 2008 - 15:51.

Brian Nettles

#8   nevergiveup

nevergiveup
  • Members
  • 14 posts

Posted 02 March 2011 - 15:23

It's in Admin under the "Administrators" category. Click on the last user name you used and edit it.