Reset password for user SAP*
2009年2月18日星期三
Option 1:
Set profile parameter 'login/no_automatic_user_sapstar' with value '0' This will allow you to reset sap* password. Do not forget to stop/start your sap system in order to take this parameter into account. When restarted, you will be able to login within default password 'PASS'
1. Stop the SAP instance, but don’t stop the database
2. Logon the database with username –sapsr3
3. Select * from SAPSR3.USR02 where BNAME='SAP*' AND MANDT='Your_Client_No.';
4. delete from sapsr3.usr02 where bname=’SAP*’ and mandt=’your_client_No.’;
5. commit;
6. In /usr/sap/<SAPSYSTEMNAME>/SYS/profile/<SAPSYSTEMNAME>_DVEBMGS00_<SAPGLOBALHOST> file:
Set one line: login/no_automatic_user_sapstar = 0 in the file.
7. Restart SAP instance.
This way has been validated.
Option 2:
Run the following report from a client you can logon to. Either from SE38 in a client where ABAP development is available, transport the report or use the function module 'RFC_ABAP_INSTALL_AND_RUN' and put the report in the program table and enter debug with replace to remove the SAP checks.
Report t.
Tables: USR02.
Select single * from USR02 where bname = 'SAP*'.
usr02-mandt = '000'.
Modify usr02 client specified.