on 04-16-2009 1:25 AM
Hi experts,
Is there any way to reset the password of the SAP users from database??
Vineet
1. sqlplus "/as sysdba"
2. UPDATE SAP<SID>.USR02 SET UFLAG = 0 WHERE MANDT = "<client number" AND
BNAME = "<your user ID>"
UFLAG - means your lock mode <..0,64,128...>
MANDT - you client
BNAME - your user name
Regards
Kasi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vineet
you can check the value of lock modes via select statement
SQL> select UFLAG from SAPR3.USR02 where MANDT=000 and BNAME='DDIC';
UFLAG
-
0
SQL>
SAP comes with various lock codes:
0 Not Locked
32 Locked Globally By Administrator
64 Locked Locally By Administrator
128 Locked Due To Incorrect Logons
thanks
Bhudev
Hello Vineet
You can just unlock the SAP users from sqlplus as Kasi mentioned here the update query but not possible to reset the password for SAP users through db.
thanks
Bhudev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Stranage never heard this you can reset it via SU01 right. then why you want to reset it via database level any particular reason?
You can delete sap* from database which recreates the sap* and can login with pass level when you are unable to login to system
Regards
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes Vineet
you can do it by logging on to SQL plus
Rohit
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.