Emergency mode
If the password for authorization of a user with the Owner status was lost or forgotten while using Passwork, you can reset the password.
It is necessary to activate the password reset option in the Passwork configuration file — config.env:
- Linux — /var/www/init/config.env
- Windows Server — C:\inetpub\wwwroot\passwork\init\config.env
- Docker — /<passwork>/conf/keys/config.env
Add a line to the configuration file:
After resetting the Owner password, you can change the value from 1 to 0 to disable the ability to reset again.
In a Linux terminal or in PowerShell on Windows Server, reset the Owner password using the following commands:
Example of correct execution:
Open the authorization page in the Passwork web interface, enter the Owner login and the obtained password. Then set a new password for the user:

If the connected TOTP code for 2FA authentication of a user with Owner status was lost while using Passwork, you can perform a reset.
It is necessary to enable the ability to reset 2FA in the Passwork configuration file — config.env:
- Linux — /var/www/init/config.env
- Windows Server — C:\inetpub\wwwroot\passwork\init\config.env
- Docker — /<passwork>/conf/keys/config.env
Add a line to the configuration file:
AAfter resetting the Owner 2FA, the value can be changed from 1 to 0 to disable the ability to reset again.
In a Linux terminal or in PowerShell on Windows Server, reset the Owner password using the following commands:
The example command uses owner (User Login with the status Owner).
After successful execution, the two-factor authentication for the Owner in Passwork will be reset.