本文主要介绍如何找回 OAT 的登录密码。
适用版本
OAT V2.x、V3.1.x、V3.2.0、和 V4.x 版本
操作方法
进入到 OAT 容器里执行 python3 manage.py changepassword admin。
操作示例:
[admin@oat:~]$ docker exec -it oat bash
[root@oat oat]# python3 manage.py changepassword admin
Changing password for user 'admin'
Password:
Password (again):
The password is too similar to the username.
This password is too short. It must contain at least 8 characters.
This password is too common.
Password:
Password (again):
Password changed successfully for user 'admin'
[root@oat oat]#
然后就可以使用新的 admin 密码登录 OAT 白屏界面了,单击 OAT 白屏界面右上角的 admin > 修改密码,可以修改密码。