###
1.admin登录密码忘记
2.解决办法
#忘记 jumpserver 超级用户密码 [root@ope-jumpserver ~]# docker exec -it jms_all /bin/bash #如果没有按装django 需执行下面命令进行安装(如安装过 此步骤可忽略) #python3 -m pip install --upgrade pip setuptools #python3 -m pip install django #进入py3虚拟环境 [root@29f71e153a73 opt]# source /opt/py3/bin/activate (py3) [root@29f71e153a73 ~]# python /opt/jumpserver/apps/manage.py changepassword admin Password: Password (again): Password changed successfully for user 'Administrator(admin)'
(py3) [root@29f71e153a73 ~]#
exit 退出jms_all 容器,去测试新密码即可
###