jumpserver--遇见问题

jumpserver管理员账号被锁定

问题:管理员账号频繁错误登陆被锁定,需要解锁账号。

前提:需要后台登陆jumpserver所在机器。
执行以下命令:

[root@localhost jumpserver-v2.20.2]#  docker exec -it jms_core /bin/bash
root@84b571d425f2:/opt/jumpserver# cd /opt/jumpserver/apps/
root@84b571d425f2:/opt/jumpserver/apps# python manage.py shell
Python 3.8.13 (default, Mar 29 2022, 14:49:15) 
Type 'copyright', 'credits' or 'license' for more information
IPython 8.2.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: from django.core.cache import cache

In [2]: cache.delete_pattern('_LOGIN_BLOCK_*')
Out[2]: 1

In [3]: cache.delete_pattern('_LOGIN_LIMIT_*')
Out[3]: 6

https://www.cnblogs.com/os-linux/p/16248501.html

JumpServer 登录密码忘记及用户锁定如何处理

http://www.voycn.com/article/jumpserver-denglumimawangjijiyonghusuodingruhechuli

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值