osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

lost admin password

This is a discussion on lost admin password within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; How can I recovere my admin password ? I tried to cahnge it in the data base (no luck ..) ...

      
  1. #1
    Member
    Join Date
    Mar 2007
    Posts
    48
    Rep Power
    0


    Default lost admin password

    How can I recovere my admin password ?
    I tried to cahnge it in the data base (no luck ..)
    I will appriciate for a good description how to do it

    Thank you in advance
    Nimrod

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: lost admin password

    You can have the admin panel login screen send you a new password. Click the lost password link.

    You can also modify the admin password by directly editing the database password field.

    Enter this hash into the field:
    Code:
    05cdeb1aeaffec1c7ae3f12c570a658c:81
    This will reset the password to:

    admin
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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 Documentation

  3. #3
    Member
    Join Date
    Mar 2007
    Posts
    48
    Rep Power
    0


    Default Re: lost admin password

    Thank you
    appriciat you quick replay

  4. #4
    New Member
    Join Date
    Dec 2005
    Posts
    10
    Rep Power
    0


    Default Re: lost admin password

    Quote Originally Posted by michael_s View Post
    You can have the admin panel login screen send you a new password. Click the lost password link.

    You can also modify the admin password by directly editing the database password field.

    Enter this hash into the field:
    Code:
    05cdeb1aeaffec1c7ae3f12c570a658c:81
    This will reset the password to:

    admin
    Sorry to ask this but how do you do this in easy newbie laymans terms, via mysql?? I've tried the recover password but it does not recognise my email address? Is there a way to reset it via editing some file somewhere on the server? basically after install I changed my user name via the admin panel but I did not see any way to change the password, all was fine until I tried to change from the default admin@localhost, now I'm stuck??

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: lost admin password

    Edit the admin password field directly in the database. Use a neato visual editor like phpmyadmin if you don't know how to do it manually (or can't because your host won't let you).
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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 Documentation

  6. #6
    New Member
    Join Date
    Dec 2005
    Posts
    10
    Rep Power
    0


    Default Re: lost admin password

    Worked out myself in the end via PHPmyadmin, thanks for swift reply, appreciated.

  7. #7
    Active Member
    Join Date
    Jan 2009
    Posts
    107
    Rep Power
    4


    Default Re: lost admin password

    Quote Originally Posted by michael_s View Post
    You can have the admin panel login screen send you a new password. Click the lost password link.

    You can also modify the admin password by directly editing the database password field.

    Enter this hash into the field:
    Code:
    05cdeb1aeaffec1c7ae3f12c570a658c:81
    This will reset the password to:

    admin
    OK, I'm a complete newbie to sql. I can see the existing value with :
    select admin_password from admin;

    but I haven't figured out how to correctly write a "load data" command to sql to overwrite the old value with the one you show above. I've been trying variations on the form

    load data "05cd.......c:81" into table admin;

    without any success. The mysql "manual" ia way too thin, it must assume you already know sql.

    Thanks,

    Jon

  8. #8
    Active Member
    Join Date
    Jan 2009
    Posts
    107
    Rep Power
    4


    Default Re: lost admin password

    Quote Originally Posted by jmelson View Post
    OK, I'm a complete newbie to sql. I can see the existing value with :
    select admin_password from admin;

    but I haven't figured out how to correctly write a "load data" command to sql to overwrite the old value with the one you show above. I've been trying variations on the form
    OK, I think I'm getting real close, now. This is what I have :

    insert into admin values ('admin_password','05cdeb1aeaffec1c7ae3f12c570a658 c:81');

    and I get :
    ERROR 1136 (21S01): Column count doesn't match value count at row 1

    Any ideas?

    Thanks,

    Jon

  9. #9
    Active Member
    Join Date
    Jan 2009
    Posts
    107
    Rep Power
    4


    Default Re: lost admin password

    Quote Originally Posted by jmelson View Post
    OK, I think I'm getting real close, now. This is what I have :
    OK, I figured out how to fix the sql database. The command was :

    replace into admin() values ('5','n','Jon','Elson','elson','<my email>','05cdeb1aeaffec1c7ae3f12c570a658c:81','n', 'n','n','n');

    then I had to delete the left over line with the wrong values :

    delete from admin where admin_id=6;

    Now the database looks ok, but when I log in as admin (which now works) and try to change my password, it asks for password confirmation, and gives me the wrong password message there! Any idea where it is looking for that password?

    Thanks,

    Jon

  10. #10
    Active Member
    Join Date
    Jan 2009
    Posts
    107
    Rep Power
    4


    Default Re: lost admin password

    OK, got it. The first two fields must be '1' admin_id and admin_groups_id. All back to working!

    Thanks,

    Jon

Page 1 of 2 12 LastLast

Similar Threads

  1. Lost Admin Password
    By mamadawn in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 12-04-2006, 06:04 PM
  2. Lost Admin Panel
    By auntie22 in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 04-30-2006, 09:40 AM
  3. Admin password
    By vinces in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-21-2004, 12:04 PM
  4. Admin password out of sync with site password
    By bjrafferty in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 07-19-2004, 08:34 AM
  5. Lost admin access
    By pluggin in forum osCommerce 2.2 Modification Help
    Replies: 5
    Last Post: 04-25-2004, 02:54 PM

Bookmarks

Posting Permissions

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