cancel
Showing results for 
Search instead for 
Did you mean: 

how can we lock/unlock all sap users from OS level

Former Member
0 Kudos

hai friends,

how can we lock/unlock all users from OS level and from sap screen ,pls explain me with detail...

Accepted Solutions (1)

Accepted Solutions (1)

Rudi_Wiesmayr
Active Participant
0 Kudos

SE38 "EWULKUSR" Go!

This useful program is a spinoff for the EURO conversions in Europe.

It 's there since 4.x times and is an invaluable tool for our maintenance activities, where only SOME users are allowed to work on the system.

HTH + dont forget to point...

Rudi

Rudi_Wiesmayr
Active Participant
0 Kudos

OK, it 's from inside the running system. But that 's the only "good" way.

From the OS level you only have the chance to change the database contents. This hack is possible, sure. But it depends on your company policies if it 's legal.

Kind regards, Rudi

Former Member
0 Kudos

let me explain how can we unlock from OS level...

former_member204746
Active Contributor
0 Kudos

You need to do an SQL command and change field UFLAG in table USR02:

create table sapr3.USR02_backup from select * from sapr3.usr02;

update sapr3.usr02 set UFLAG='64';

update sapr3.usr02 set UFLAG='0' where bname='YourUserName'

you will need to reset buffers in SAP or restart your system if using WAS 6.x and above.

<b>DO THIS AT YOUR OWN RISKS. I HAVE NOT TESTED THIS SCRIPT.</b>

Answers (2)

Answers (2)

Former Member
0 Kudos

The answer you are looking for is tp locksys <SID> and tp unlocksys <SID>

markus_doehr2
Active Contributor
0 Kudos

you can from SAP level using transaction EWZ5, not possible from OS level (why would you want to deal on operating system level with application users?)

--

Markus

Former Member
0 Kudos

if i lock all users from sap level ( with ddic ,sap*) .how can we enter in to sap sys...pls inform me how to unlock users from OS level...