Mattermost, Inc.

Script to bulk reset passwords

I wrote a script that will use the CLI and API to bulk reset passwords for all email/password authenticated users. You can set the password to a single value, or it can auto-generate passwords. And once the password is reset the user receives a password reset email to enter their new password. Very handy if you’ve just done a migration using bulk export and need to update everyone’s passwords.

More details can be found in the Github repo

2 Likes