解锁本地 Cloud Foundry 用户。 uaac?
unlock local Cloud Foundry user. uaac?
如何解锁本地 Cloud Foundry 用户。没有在 uaac Gem 上找到选项?
我们的用户使用 CI/CD 密码错误的工具,然后他们的 CF 用户被锁定。
默认情况下,UAA 不会在尝试失败后永久锁定帐户。它会导致帐户在一段时间内(默认为 5 分钟)不可用,并会继续锁定 5 分钟,直到成功登录。如果您没有更改默认配置,只需等待 5 分钟,然后尝试使用正确的凭据。
使用uaadb
select * from sec_audit;
+--------------------------------------+------------+----------------------------+----------------+---------------------+------------------+
| principal_id | event_type | origin | event_data | created | identity_zone_id |
+--------------------------------------+------------+----------------------------+----------------+---------------------+------------------+
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 10:51:47 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 11:46:34 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 11:46:47 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 11:46:56 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 11:47:01 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 12:51:47 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 13:46:34 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 13:46:47 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 13:46:56 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 13:47:01 | uaa |
+--------------------------------------+------------+----------------------------+----------------+---------------------+------------------+
截断这个 table 并且所有锁都消失了
如何解锁本地 Cloud Foundry 用户。没有在 uaac Gem 上找到选项?
我们的用户使用 CI/CD 密码错误的工具,然后他们的 CF 用户被锁定。
默认情况下,UAA 不会在尝试失败后永久锁定帐户。它会导致帐户在一段时间内(默认为 5 分钟)不可用,并会继续锁定 5 分钟,直到成功登录。如果您没有更改默认配置,只需等待 5 分钟,然后尝试使用正确的凭据。
使用uaadb
select * from sec_audit;
+--------------------------------------+------------+----------------------------+----------------+---------------------+------------------+
| principal_id | event_type | origin | event_data | created | identity_zone_id |
+--------------------------------------+------------+----------------------------+----------------+---------------------+------------------+
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 10:51:47 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 11:46:34 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 11:46:47 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 11:46:56 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 11:47:01 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 12:51:47 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 13:46:34 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 13:46:47 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 13:46:56 | uaa |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 | 1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 13:47:01 | uaa |
+--------------------------------------+------------+----------------------------+----------------+---------------------+------------------+
截断这个 table 并且所有锁都消失了