Skip to content

Commit 8e51c3c

Browse files
supertassumgol
authored andcommitted
doc: document wordpress password resets
Closes: #15
1 parent ed57197 commit 8e51c3c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

doc/wordpress.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,15 @@ subscribers also use the following aliases:
4646
4747
### Blog accounts
4848
49-
TODO.
49+
The WordPress hosts can't send mail, so a normal password reset can't
50+
be done that way. Instead it's possible to reset a lost password with
51+
the `wp` CLI utility:
52+
1. Log in to the active `wpblogs` host
53+
2. Navigate to the correct directory under `/srv/wordpress/sites/`, for
54+
example `/srv/wordpress/sites/jquery/` for blog.jquery.com.
55+
3. Run `sudo -u www-data wp user reset-password <USERNAME> --skip-email --show-password`
56+
4. Log in via wp-admin, and maybe set a new password other than the
57+
randomly generated one?
5058

5159
## Doc sites
5260

0 commit comments

Comments
 (0)