JumpServer管理员账号被锁定

问题:管理员账号频繁错误登陆被锁定,需要解锁账号,如下图所示

JumpServer管理员账号被锁定

解决方法:登陆JumpServer所在服务器。

执行以下命令:

[root@localhost ~]# cd /opt/jumpserver-installer-v4.10.11/

[root@localhost jumpserver-installer-v4.10.11]# docker exec -it jms_core /bin/bash

root@jms_core:/opt/jumpserver# cd /opt/jumpserver/apps/

root@jms_core:/opt/jumpserver/apps# python manage.py shell

/opt/py3/lib/python3.11/site-packages/httpsig/__init__.py:1: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.

from pkg_resources import get_distribution, DistributionNotFound

Python 3.11.13 (main, Jul 22 2025, 01:43:09) [GCC 10.2.1 20210110] on linux

Type “help”, “copyright”, “credits” or “license” for more information.

(InteractiveConsole)

>>> from django.core.cache import cache

>>> cache.delete_pattern(‘_LOGIN_BLOCK_*’)

1

>>> cache.delete_pattern(‘_LOGIN_LIMIT_*’)

2

执行完命令后即可刷新Web界面重新进行登陆,如下图所示

JumpServer管理员账号被锁定

JumpServer管理员账号被锁定

原创文章,作者:admin,如若转载,请注明出处:https://hostingchat.cn/2071.html

(0)
admin的头像admin
上一篇 2025年10月23日 上午12:00
下一篇 2025年10月24日 上午12:00

相关推荐

  • Jumpserver开源堡垒机管理

    此篇文章主要介绍Jumpserver开源堡垒机管理,安装请移至Jumpserver开源跳板机安装部署 一、用户管理 1)添加用户 输入要添加的用户名,姓名,权限,Mail,并且发送…

    2018年8月11日
    000
  • Jumpserver开源跳板机安装

    1、Jumpserver简介 Jumpserver 是全球首款完全开源的堡垒机,使用 GNU GPL v2.0 开源协议,是符合4A的专业运维审计系统。其使用 Python / D…

    2019年7月2日
    000
  • Jumpserver开源堡垒机安装部署

    1、概述 由于来源身份不明、越权操作、密码泄露、数据被窃、违规操作等因素都可能会使运营的业务系统面临严重威胁,一旦发生事故,如果不能快速定位事故原因,运维人员往往就会背黑锅。几种常…

    2018年8月11日
    000
  • JumpServer添加Kubernetes集群管理

    一、JumpServer简介 JumpServer是全球首款完全开源的堡垒机,使用GNU GPL v2.0开源协议,符合4A规范的专业运维安全审计系统。JumpServer的产品特…

    2023年3月1日
    000
  • JumpServer堡垒机安装

    一、JumpServer简介 JumpServer是全球首款完全开源的堡垒机, 使用GNU GPL v2.0开源协议, 是符合4A的专业运维审计系统。 JumpServer使用Py…

    2020年4月30日
    000

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注