Simple modification of "DISCUZX2" Administrator password

Source: Internet
Author: User
Tags config md5 encryption administrator password mysql database root directory
Friend a website password forgot, asked me to help him modify, with is Discuz X2.5 is also the latest forum system, which I used to seldom use, nor how to contact, first of all, of course, I was the first to modify the MySQL database, DX is 32-bit MD5 encryption, so I found a few simple passwords put on it, but discovered that changed a lot of useless, of course, in the U-cent table also changed, but found still not Finally found a simpler way to modify the Disucz x 2.5 password. Here's how to do this:
open the Find Files config.inc.php
and config/config_global.php, config/config_ in the subdirectory uc_server/data under the Web root directory ucenter.php (These two if not the following code can not be modified)
found similar to the following code:
define (' UC_FOUNDERPW ', ' 256955f2e034sad74f0e2953572ea360 ');
Define (' Uc_foundersalt ', ' 217804 ');
Then replace define with the following code
(' UC_FOUNDERPW ', ' 047099adb883dc19616dae0ef2adc5b6 ');
Define (' Uc_foundersalt ', ' 311254 ');
After the modification, the Ucenter Founder's password changed to: 123456789, then you can log in to the Ucenter and then change the password to the one you want.
Ucenter manages all the user information of Discuz, in which you can reset the password according to your needs and so on.
Login your website plus http://website URL/uc_server User name I believe we should not forget it. Password 123456789 log in to it.
For example: Http://bbs.cztree.com/uc_server, the address can be written like this.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.