To administer your WestHost account, please enter your
Domain Name or Server Manager Username.

WestHost: Professional Website Hosting Company








Results 1 to 2 of 2
  1. #1

    Default How to change ADMIN password for oscommerce

    To change your password for logging in as the administrator for OSCOMMERCE, simply ftp into the directory : /usr/local/webpassword

    you should see a file there called: wp001.dat

    edit that file with the new user name and password. This is an encrypted password, so you won't be able to "see" the old one, but you'll be able to generate a new one by going to another website that generates "htpasswd encryption" one I found on google did the trick for me, <http://www.4webhelp.net/us/password.php>

    the file should be named the same - and should look like
    username:encryptedpassword

    then FTP the new file back over, then you should be cmod to 777 (at least mine was this way before, so I assume it still needs to be the same)

    If you're using FireFTP (from Firefox) right click on the file and click on properties (CTRL-P)
    see the image

    The webstore can be seen at http://www.jeyla.com
    Last edited by kouzmanoff; 03-23-2008 at 03:57 PM. Reason: forgot original oscommer site

  2. #2

    Default

    kouzmanoff,

    One thing to be aware of with these instructions is that the wp001.dat file is actually created by the Web Password application for the first URL that is is password protecting. By default, OsCommerce doesn't use the Web Password application for the password protection, so this will only be the right file to update if you used Web Password to password protect your OsCommerce admin.

    The best way to verify which file is actually being used for the password protection, open the .htaccess file in your OsCommerce admin directory (/var/www/html/catalog/admin by default) and view the AuthUserFile setting in that file.

    Please note that the default file that is used is /usr/local/apache/.htpasswd. This file is also used by other applications, such as AWStats and phpMyAdmin. So, updating the password using this method will update the password for any other applications that use that file. Also, that file will get updated to your Site Manager password if you ever change the password through your Site Manager.
    Sincerely,

    Mark Cox
    Data Center Administrator
    WestHost

    When you expect more from your Web host
    http://www.westhost.com/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •