Restore Passwords To Recover Admin User Rights Using System Properties
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
If you're unable to log in to Crowd as an administrator (for example, you've lost the administrator password) you can start Crowd in recovery mode to recover your admin user rights.
This process applies to versions 3.5.2, 3.6.2, 3.7.1 and greater only
- For versions 3.5.1, 3.6.1, 3.7.0 and prior, please see Restoring Passwords To Recover Admin User Rights via Database. These versions were affected by CWD-5116
リカバリ モードを使用してアクセスを復元する
Recovery mode works by creating a virtual user directory with a temporary admin account. You set the password for this admin account when applying the system property. Users can continue to log in and access Crowd while it is in recovery mode.
管理ユーザー権限を回復するには、次の操作を実行します。
- Stop Crowd.
<installation-directory>/apache-tomcat/bin/setenv.sh
またはsetenv.bat
を編集して、次のシステム プロパティを追加します。<your-password>
を独自の一時的なパスワードで置き換えます。-Datlassian.recovery.password=<your-password>
- Start Crowd manually (don't start Crowd as a service).
- Log in to Crowd with the username recovery_admin and the temporary password you specified in the system property.
- 既存の管理者アカウントのパスワードを変更するか、新しいアカウントを作成してそれを適切な管理グループに追加します。
- 新しいアカウントで正常にログインできることを確認します。
- Stop Crowd.
<installation-directory>/apache-tomcat/bin/setenv.sh
またはsetenv.bat
を編集し、システム プロパティを削除します。- Restart Crowd using your usual method (manually or by starting the service).
参考情報
- 管理者アクセスを復元したらすぐにシステム プロパティを削除します。
- Don't leave Crowd in recovery mode, or use the recovery_admin account as a regular administrator account.
- Your temporary password should be unique. Don't use an existing password or the one you intend to use for your admin account.