Guest Posted February 10, 2005 Share Posted February 10, 2005 Stupid question, but how do I change the admin password for osCommerce? Thanks. :D Link to comment Share on other sites More sharing options...
icu Posted February 10, 2005 Share Posted February 10, 2005 open the config.php file at the very end it says password "xxxxx" change it Link to comment Share on other sites More sharing options...
ArtRat Posted February 10, 2005 Share Posted February 10, 2005 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. :-" Link to comment Share on other sites More sharing options...
robguay Posted February 27, 2005 Share Posted February 27, 2005 I found by .htaccess file, but >_< 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 >_< 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! Link to comment Share on other sites More sharing options...
RikR Posted February 27, 2005 Share Posted February 27, 2005 At my host, passwords are managed in the cPanel. Rik Rasmussen Link to comment Share on other sites More sharing options...
Guest Posted February 27, 2005 Share Posted February 27, 2005 I found by .htaccess file, but >_< 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? >_< 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 Link to comment Share on other sites More sharing options...
Guest Posted May 30, 2008 Share Posted May 30, 2008 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. Link to comment Share on other sites More sharing options...
nevergiveup Posted March 2, 2011 Share Posted March 2, 2011 It's in Admin under the "Administrators" category. Click on the last user name you used and edit it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.