Home > OS Administration > Script and Tools > SAP mass user lock/unlock at OS level
|
Please note : Thislock will not impact any user already logged in the system. Also can use SU10to mass lock/unlock.
Lock Procedure
1.Loginto at OS level with and go to /usr/sap/trans/bin .
2.Executefollowing lock command at OS level
tp LOCKSYS pf=
Unlock Procedure
1.Execute following unlock command at OS level
tp UNLOCKSYS pf=
Reference:
Centos 6.5 x86_64 minimal iso. http://help.sap.com/saphelp_45b/helpdata/en/3d/ad5b744ebc11d182bf0000e829fbfe/content.htm
Sap System Status
Please note : Thislock will not impact any user already logged in the system. Also can use SU10to mass lock/unlock.
Lock Procedure
1.Loginto at OS level with and go to /usr/sap/trans/bin .
2.Executefollowing lock command at OS level
tp LOCKSYS pf=
Unlock Procedure
1.Execute following unlock command at OS level
tp UNLOCKSYS pf=
Reference:
Centos 6.5 x86_64 minimal iso. http://help.sap.com/saphelp_45b/helpdata/en/3d/ad5b744ebc11d182bf0000e829fbfe/content.htm
Sap System Status
User Lock Status In Sap Login
This procedure returns a result set that shows the current status of users. In addition to basic user information, the procedure includes a column indicating if the user has been locked out and a column with a reason for the lockout. SAP XUUFLAG Data Element - User Lock Status ABAP dictionary fields SAP XUUFLAG Data Element User Lock Status ABAP dictionary fields XUUFLAG is a standard DATA Element within the SAP ABAP dictionary and is associated with fields that store Purchasing Document information.