OS Manuals

/usr/local/bin/hash_password

Compat package for upstream Docker image paths

From synapse-compat 1.164.2-r0 (enterprise-packages), captured 2026-11-08 by running hash_password --help (exit 0). permalink

usage: hash_password [-h] [-p PASSWORD] -c CONFIG

Calculate the hash of a new password, so that passwords can be reset

options:
  -h, --help            show this help message and exit
  -p, --password PASSWORD
                        New password for user. Will prompt if omitted.
  -c, --config CONFIG   Path to server config file. Used to read in bcrypt_rounds and
                        password_pepper.
Options (3)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-p, --password PASSWORDNew password for user.help
-c, --config CONFIGPath to server config file.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.