Server Playbooks
No edit summary |
|||
Line 17: | Line 17: | ||
** Public Wiki <code>cd /srv/www/htdocs/mediawiki-public</code> | ** Public Wiki <code>cd /srv/www/htdocs/mediawiki-public</code> | ||
** Crew Wiki <code>cd /srv/www/htdocs/mediawiki-crew-pd</code> | ** Crew Wiki <code>cd /srv/www/htdocs/mediawiki-crew-pd</code> | ||
* Run the script: <code>php maintenance/changePassword.php --user= | * Run the script: <code>php maintenance/changePassword.php --user={USERS_USER_NAME} --password=VerySecurePassword</code> | ||
* Suggest they go to change it at <code>https://www.profounddecisions.co.uk/empireplotwiki/Special:ChangeCredentials/</code> (replace for correct wiki location) | * Suggest they go to change it at <code>https://www.profounddecisions.co.uk/empireplotwiki/Special:ChangeCredentials/</code> (replace for correct wiki location) | ||
That's it. | That's it. |
Revision as of 12:46, 7 March 2023
Stuff on how the servers work
Changing a Wiki User password
Ideally, they go to the password reset page - https://www.profounddecisions.co.uk/empireplotwiki/Special:PasswordReset for the plot wiki - and that works.
If not, ssh in:
- SSH into the server
- Go to the directory for the wiki:
- Plot Wiki
cd /srv/www/htdocs/mediawiki-crew-empire
- Public Wiki
cd /srv/www/htdocs/mediawiki-public
- Crew Wiki
cd /srv/www/htdocs/mediawiki-crew-pd
- Plot Wiki
- Run the script:
php maintenance/changePassword.php --user={USERS_USER_NAME} --password=VerySecurePassword
- Suggest they go to change it at
https://www.profounddecisions.co.uk/empireplotwiki/Special:ChangeCredentials/
(replace for correct wiki location)
That's it.