36 lines
1.0 KiB
Markdown
36 lines
1.0 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 an 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 command line parameter
|
|
|
|
`dotnet run --AYANOVA_SET_SUPERUSER_PW="Th3RainInSpainFallsMainlyOnTh3Pla1n"`
|
|
|
|
Example environment variable
|
|
|
|
Windows
|
|
|
|
`set "AYANOVA_SET_SUPERUSER_PW=Th3RainInSpainFallsMainlyOnTh3Pla1n"`
|
|
|
|
Linux / MAC
|
|
|
|
`export AYANOVA_SET_SUPERUSER_PW="Th3RainInSpainFallsMainlyOnTh3Pla1n"`
|
|
|
|
If both a command line parameter and an environment variable are set the command line parameter takes precedence.
|