After we install the dedecms program, we will be prompted with the "dedecms security prompt" when entering the background. One of the items is to change the default administrator name admin and the administrator user login ID. I I tried changing it in the background, but I could only change the password, not the administrator's ID. After many tests, I found an effective method to use the database to change the dedecms administrator's ID and password.
1. The default management directory is dede, which needs to be renamed immediately;
2. It is strongly recommended that the data/common.inc.php file attribute is set to 644 (Linux/Unix) or read-only (NT);
3. The default administrator name admin has not been changed. It is recommended that you change it to another management account!
The first step is to enter the phpMyAdmin of the database. If you cannot enter, please contact your space provider.
Then find the dede_admin data and click to browse
Second step, you can directly change the pwd item, just click to enter the cursor Status, or please edit and change admin to your customized one.
Related recommendations: "dedecms tutorial"
The third step, the above has changed the Dreamweaver administrator ID , now let’s change the password of the Dreamweaver administrator, enter the backend, and operate according to the picture.
The fourth step is to fill in the new password, then copy the following code to the corresponding place, and click Save. Now the user login ID and password of the DEDECMS administrator have been Changed, you will no longer be admin the next time you log in.
The above is the detailed content of How to modify id and password in dedecms. For more information, please follow other related articles on the PHP Chinese website!