ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 如何锁定(SU01)&解锁(SU10)SAP 用户 > 原文: [https://www.guru99.com/how-to-lockunlock-a-user-2.html](https://www.guru99.com/how-to-lockunlock-a-user-2.html) ### 锁定用户 锁定用户的目的是暂时停用用户,以使他们无法再访问系统。 用户可以通过两种方式锁定:- * 自动地 * 明确/强制 自动**:-**用户自动锁定时有两种可能性 * 失败尝试的最大次数:-通过参数 **login / fails_to_user_lock 进行控制。** 如果将值设置为 3,则意味着 3 次尝试失败后,用户将被锁定。 * 自动解锁时间:-“ **login / failed_user_auto_unlock** ”定义是否应在午夜自动删除由于未成功登录而锁定的用户。 **明确/强制**:我们可以通过 2 种方式锁定和解锁用户- 1. 锁定单个用户( **SU01** ) 2. 锁定多个用户( **SU10** ) ## 锁定单个用户的过程 **步骤 1)**执行 T 代码 **SU01** ![How to Lock (SU01) & Unlock (SU10) a SAP User](https://img.kancloud.cn/b6/92/b69245139547ffaf44c244e4caf08c6d_298x80.png "How to Lock/Unlock a User in SAP") **步骤 2)**在**用户**字段中输入用户名。 ![How to Lock (SU01) & Unlock (SU10) a SAP User](https://img.kancloud.cn/a6/3e/a63e22c4e3a1b8ad111e1579b67c006d_465x235.png "How to Lock/Unlock a User in SAP") **步骤 3)**按下**锁定/解锁**按钮 ![How to Lock (SU01) & Unlock (SU10) a SAP User](https://img.kancloud.cn/54/7a/547aebfc5ccd5c342c485a32a4a1fc8b_306x219.png "How to Lock/Unlock a User in SAP") **步骤 4)**在下一个屏幕中,再次按 **Lock** 按钮可锁定用户。 ![How to Lock (SU01) & Unlock (SU10) a SAP User](https://img.kancloud.cn/2a/61/2a61ef121e2aab8e90de853cb092507e_479x186.png "How to Lock/Unlock a User in SAP") ## 锁定多个用户的过程 **步骤 1)**执行 T 代码 **SU10** ![How to Lock (SU01) & Unlock (SU10) a SAP User](https://img.kancloud.cn/4f/4f/4f4fb11738079e5ac2924e129e9cfded_271x114.png "How to Lock/Unlock a User in SAP") **步骤 2)**在**用户**字段中输入用户名。 ![How to Lock (SU01) & Unlock (SU10) a SAP User](https://img.kancloud.cn/c1/ec/c1ec75e40b58299f0d7f329c443281d5_437x351.png "How to Lock/Unlock a User in SAP") **Step 3)** Press **Lock/Unlock** button ![How to Lock (SU01) & Unlock (SU10) a SAP User](https://img.kancloud.cn/e3/4e/e34ea713abe9e43b084a06e4a0d23581_254x293.png "How to Lock/Unlock a User in SAP") 列出的所有用户将被锁定 ## 解锁用户的步骤 **步骤 1)**执行 T 代码 **su01** ![How to Lock (SU01) & Unlock (SU10) a SAP User](https://img.kancloud.cn/99/a1/99a18a4cdf2d44661e3f458aa5d7cc17_297x81.png "How to Lock/Unlock a User in SAP") **步骤 2)**在**用户**字段中输入用户名。 ![How to Lock (SU01) & Unlock (SU10) a SAP User](https://img.kancloud.cn/c4/91/c4915e7c89fbb6c2aeb0fc74b8da80d9_318x186.png "How to Lock/Unlock a User in SAP") **步骤 3)**按下**锁定** / **解锁**按钮 ![How to Lock (SU01) & Unlock (SU10) a SAP User](https://img.kancloud.cn/54/7a/547aebfc5ccd5c342c485a32a4a1fc8b_306x219.png "How to Lock/Unlock a User in SAP") **步骤 4)**按下**解锁**按钮 ![How to Lock (SU01) & Unlock (SU10) a SAP User](https://img.kancloud.cn/10/cf/10cf58d9590c26bdd6e4a53360250a84_503x169.png "How to Lock/Unlock a User in SAP") ## 解锁多个用户的过程 **Step 1)** Execute T-code **SU10** ![How to Lock (SU01) & Unlock (SU10) a SAP User](https://img.kancloud.cn/4f/4f/4f4fb11738079e5ac2924e129e9cfded_271x114.png "How to Lock/Unlock a User in SAP") **步骤 2)**在**用户**字段中输入用户的用户名。 ![How to Lock (SU01) & Unlock (SU10) a SAP User](https://img.kancloud.cn/71/09/71094637bbc613196ed255156f956684_436x350.png "How to Lock/Unlock a User in SAP") **步骤 3)**按下**解锁**按钮 ![How to Lock (SU01) & Unlock (SU10) a SAP User](https://img.kancloud.cn/1e/05/1e0552213b13d73e2cf7027a3e0e79d2_280x275.png "How to Lock/Unlock a User in SAP") 用户将被解锁