Files
raven/docs/8.0/ayanova/docs/ops-config-set-superuser-pw.md
2021-12-23 15:15:14 +00:00

42 lines
1.1 KiB
Markdown

# SUPER USER PASSWORD OVERRIDE
In the event that the SuperUser password is lost it can be reset using this setting.
Upon booting up the server will reset the current SuperUser User account password to this value.
It should only be used to temporarily reset the password and never left in place.
## Default
This setting is not used by default.
## Overriding
AyaNova expects the override password to be provided by a config.json property, environment variable or command line parameter named:
`AYANOVA_SET_SUPERUSER_PW`
The value specified should be a string used to temporarily override the super user password e.g.:
`Th3RainInSpainFallsMainlyOnTh3Pla1n`
Example config.json entry
```json
{
...other properties...
"AYANOVA_SET_SUPERUSER_PW": "Th3RainInSpainFallsMainlyOnTh3Pla1n"
}
```
Example command line parameter
`ayanova.exe --AYANOVA_SET_SUPERUSER_PW="Th3RainInSpainFallsMainlyOnTh3Pla1n"`
Example environment variable
Windows
`set "AYANOVA_SET_SUPERUSER_PW=Th3RainInSpainFallsMainlyOnTh3Pla1n"`
Linux / MAC
`export AYANOVA_SET_SUPERUSER_PW="Th3RainInSpainFallsMainlyOnTh3Pla1n"`