on 09-30-2014 6:21 AM
Hi ,
We have ECC 6.0 ehp4 on AIX 7.1 & DB2 10.5 platform
how to do the following for db2 10.5
1) checking the status of sap* & ddic from OS level ( whether its locked or not)
2) unlocking the users( sap* and DDIC)
3) resetting the password of sap* and DDIC at OS level
Please help for the above commands
Thanks in advance
Dear Daniel,
You can use below command,
1) checking the status of sap* & ddic from OS level ( whether its locked or not)
db2 select UFLAG, BNAME, MANDT from <schema>.USR02 where BNAME='SAP*';
2) unlocking the users( sap* and DDIC)
db2 update <schema>.USR02 set UFLAG=0 where BNAME='SAP*' and MANDT=<client>;
3) resetting the password of sap* and DDIC at OS level
db2 delete from <schema>.USR02 where BNAME='SAP*' and MANDT=<client_no>;
Regards,
Jithin M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can check the value of column UFLAG in table USR02 to see if the user is locked and update the value to unlock the user. however, you need to reset table buffer using /$tab or restart system.
If you need to reset password, you can use the steps as suggested in the above reply.
You need to restart system after you change profile parameter and update data in table USR02.
Thanks.
Jim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear
if you have done new installation or you have done system copy then the default password for sap*
is pass if it is not entering into system with this password means that is locked you need to delete that entry
for logging into system with sap* you need to
1)set parameter login/no_automatic_user_sapstar = 0 , if it is 1 change it to 0 otherwise system won't allow you to go inside login screen
2)logon as db2<adm>
db2 "select bname ,mandt from <shema>.usr02 where bname='SAP*'";
db2 "update <schema>.usr02 set bname="SAPSTAR" where bname='SAP*' and mandt='###'";
above command will delete the entry and when you login next time it will automatically creates the SAP* entry with default password pass
after this you can able to login to client with SAP* and password is pass
hope this will help you
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Rajendra,
db2 "update <schema>.usr02 set bname="SAPSTAR" where bname='SAP*' and mandt='###'";
above command will delete the entry and when you login next time it will automatically creates the SAP* entry with default password pass
As per my knowledge the above command is not proper. We have to change UFLAG entry from USR02 table. and the above query wont delete the entry which is an update statement.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.