Restore Lost Access - GetSimpleCMS-CE/GetSimpleCMS-CE GitHub Wiki

If you have lost or do not remember your admin password and need to reset access, this can be done via FTP or cPanel.

Via FTP or cPanel file browser, navigate to your data/users/ directory.

Here you will find the available users .xml data files.

For example: user.xml or admin.xml.

The password is encrypted as a 40 digit hash using sha1.

Replace the current <PWD>...</PWD> section within your user file with: <PWD>9d4e1e23bd5b727046a9e3b4b7db57bd8d6ee684</PWD>

This will set the password as "pass"

  • After accessing the admin panel, it is extremely important that this password is updated!

Salted Password?

If you were previously using a salted password, you will first need to disable this by editing the gsconfig.php file found in the root of your sites install.

Usually found near the top of this file, you will need to comment-out two lines:

# define('GSLOGINSALT', 'your_unique_phrase');

and

# define('GSUSECUSTOMSALT', 'your_new_salt_value_here');


Missing user file?

If somehow your user file was deleted or missing, you can manually add one by creating a new user file.

Create a new file: admin.xml

And add the following info:

<?xml version="1.0" encoding="UTF-8"?>
<item><USR>admin</USR><NAME/><PWD>9d4e1e23bd5b727046a9e3b4b7db57bd8d6ee684</PWD><EMAIL>[email protected]</EMAIL><HTMLEDITOR>1</HTMLEDITOR><TIMEZONE/><LANG>en_US</LANG></item>

This will give you a new user "admin" with a password of "pass".

  • Once this has been added or uploaded, you should immediately go to the Settings tab within the admin and update this password!
⚠️ **GitHub.com Fallback** ⚠️