How to reset a pasword for a wiki user

来自cslt Wiki
2018年4月27日 (五) 03:11Cslt讨论 | 贡献的版本

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索
  1. logon to clst wiki server(166.111.134.43)
  2. goto /opt/lampp
  3. ./bin/mysql -D my_wiki -h localhost -u pma -p
  4. issue the password
  5. you can change the email address of the user, that can receive a password notification email in the 'user' table. You can desc user to find the structure of the table.
  6. if you want to change the password immediately, then update the password of the user table directly. However,

since the password is encryped, you need some trick. For example, set the password of a known account to the intented password, and then copy the encrypted string to the target user.