© 2015 X2Engine Inc.

Manually Resetting Passwords

From X2Engine
Revision as of 18:50, 25 January 2013 by Demitri (talk | contribs) (Created page with "These instructions are for the case where the web application's ''administrator's'' password has been lost. If this is not the case, and one can log in to X2CRM as an administ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

These instructions are for the case where the web application's administrator's password has been lost. If this is not the case, and one can log in to X2CRM as an administrator, changing any user's password can be done as follows:

  1. Log in as the X2CRM administrator.
  2. Go to the "Users" module by following the link in the user menuThe menu accessed by clicking on one's own username in the far upper-right-hand corner of the application. (it should be found it near the search field in the top bar).
  3. Click on the user, and then click "update"
  4. Enter a new password into the Password field.

If, on the other hand, one does not have the administrator password, it can be reset, but requires the following:

  • Direct access to the database using PHPMyAdmin or some other means
  • A software tool for generating MD5 hashes

To reset the password:

  1. Come up with a new password.
  2. Generate an md5 hash of the password.
  3. Log into the database.
  4. Set the "password" field in the users table to the hash on the admin user, i.e. to set it to lowercase "password" for user "admin":
    UPDATE x2_users SET password='5f4dcc3b5aa765d61d8327deb882cf99' WHERE username='admin';
    
  5. Log in immediately as the administrator and change the password to something more secure (if "password" was used) and make note of it.