Release candidate
Administration

Emergency mode

7min

Reset Owner password

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:

shell


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:

Linux
Windows Server
Docker


Example of correct execution:

output


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:

Document image


Reset 2FA Owner

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:

shell


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:

Linux
Windows Server
Docker


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.

Updated 25 Mar 2025
Doc contributor
Did this page help you?