Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Password Problem


spent

Recommended Posts

I am helping a disabled women get a webstore up and running. A Canadian fellow put together a basic osCom site for her, which I have been doing some work on. The problem is she doesn't know the username and password for Admin, and can't contact said guy to find out what it is. Is there any way to extract it from the files, or reset it, without having to do a complete reinstall on the server?

Link to comment
Share on other sites

I am helping a disabled women get a webstore up and running. A Canadian fellow put together a basic osCom site for her, which I have been doing some work on. The problem is she doesn't know the username and password for Admin, and can't contact said guy to find out what it is. Is there any way to extract it from the files, or reset it, without having to do a complete reinstall on the server?

 

I assume you have ftp credentials ?

 

create a new username and password combination in an .htpasswd file, and access that file by creating a .htaccess file, and uploading it to the /catalog/admin directory.

 

use this form for your password :

http://www.webmaster-toolkit.com/htaccess-generator.shtml

or this :

http://www.kxs.net/support/htaccess_pw.html

 

and upload the contents in a file called .htpasswd to a directory ideally lower than the root like :

/passwords/store/hidden/.htpasswd

 

Then create a .htaccess file like this and dump it in the admin directory of the store :

AuthName "Section Name"

AuthType Basic

AuthUserFile /home/username/passwords/store/hidden/.htpasswd

Require valid-user

 

 

Corrina

Link to comment
Share on other sites

  • 3 weeks later...

Archived

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

×
×
  • Create New...