无法使用邮件重置的情况下,进控制台操作
[root@JumpServer ~]# docker exec -it jms_core /bin/bash
root@222871d67cce:/opt/jumpserver# cd /opt/jumpserver/apps
root@222871d67cce:/opt/jumpserver/apps# python manage.py changepassword admin #想重置的用户名
Changing password for user 'Administrator(admin)'
Password:
Password (again):
Password changed successfully for user 'Administrator(admin)' #重置成功
root@222871d67cce:/opt/jumpserver/apps#