• Home
  • Testing
  • SAP
  • Web
  • Must Learn!
  • Big Data
  • Live Projects
  • Blog

Locking a user

The Purpose of locking user is to temporarily deactivate the users so that they cannot longer access the system.

Users can be locked in 2 ways:-

  • Automatically
  • Explicitly/Forcefully

Automatically: - There are two possibilities when users get lock automatically

  • Maximum number of failed attempts:- controlled via the parameter login/fails_to_user_lock. If a value is set to 3 it means after 3 failed attempts user will be locked.
  • Auto unlock time: - "login/failed_user_auto_unlock" defines whether user locked due to unsuccessful logon attempts should be automatically removed at midnight.

Explicitly/Forcefully: We can lock and unlock users in 2 ways-

  1. Lock single user (SU01)
  2. Lock multiple user (SU10)

Procedure to lock a single user

Step 1) Execute T-code SU01
 

How to Lock (SU01) & Unlock (SU10) a SAP User

Step 2) Enter a username in User field.
 

How to Lock (SU01) & Unlock (SU10) a SAP User

Step 3) Press Lock/Unlock button
 

How to Lock (SU01) & Unlock (SU10) a SAP User

Step 4) In the next screen, Press Lock button again to lock the user.
 

How to Lock (SU01) & Unlock (SU10) a SAP User

Procedure to lock multiple users

Step 1) Execute T-code SU10
 

How to Lock (SU01) & Unlock (SU10) a SAP User

Step 2) Enter users a username in User field.
 

How to Lock (SU01) & Unlock (SU10) a SAP User

Step 3) Press Lock/Unlock button
 

How to Lock (SU01) & Unlock (SU10) a SAP User

All the users listed will be locked

Procedure to unlock a user

Step 1) Execute T-code su01
 

How to Lock (SU01) & Unlock (SU10) a SAP User

Step 2) Enter username in User field.
 

How to Lock (SU01) & Unlock (SU10) a SAP User

Step 3) Press Lock/Unlock button
 

How to Lock (SU01) & Unlock (SU10) a SAP User

Step 4) Press Unlock button
 

How to Lock (SU01) & Unlock (SU10) a SAP User

Procedure to unlock multiple users

Step 1) Execute T-code SU10
 

How to Lock (SU01) & Unlock (SU10) a SAP User

Step 2) Enter users' username in User field.
 

How to Lock (SU01) & Unlock (SU10) a SAP User

Step 3) Press Unlock button
 

How to Lock (SU01) & Unlock (SU10) a SAP User

Users will be unlocked

 

YOU MIGHT LIKE: