on 07-07-2010 1:49 PM
Hi SAP DBA,
I used Tcode SU10 to lock all user, I forget to exclude Basis and SAP* and locked all user, Now, Please help me how to unlock all users.
Regards,
Hi,
You can unlock the users at DB level.
When you lock the user, UFLAG status set to 64 in USR02 table.
just issue the below SQL command.
For example your client is 300
UPDATE SAPSR3.USR02 SET UFLAG='0' WHERE MANDT = '300';
It will unlock all users.
Regards.
Rajesh Narkhede
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
select * from usr02
Above query is incorrect...
Correct syntax would be..
select * from <sapschema>.usr02 where bname = <username> and mandt = <client_no>;
Where <sapschema>.usr02 is table where user details are stored.
BNAME = Username
MANDT = Client No.
Usually SAPSCHEMA is SAPSR3. So tablename would be "sapsr3.usr02" not only "usr02".
Remember it object names are case sensetive, so try with caps and small letters.
Regards.
Rajesh Narkhede
Hi,
you can unlock the user with the SQL command :
update <sid>.USR02 set UFLAG=0 where BNAME='SAP*' and MANDT=xxx
If you want to reset SAP*, you can use the command :
delete from <sid>.USR02 where BNAME='SAP*' and MANDT='xxx'
Laszlo
Edited by: Laszlo Hausman on Jul 12, 2010 10:00 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Delete the user SAP* from the DB level and set the following parameter in the instance's profile:
login/no_automatic_user_sapstar = 0
Afterwards restart the instance and log in with the user SAP* and its default password. With that user you can undo the lock on the required users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.