SAP*初始化密碼是06071992或pass
DDIC默認密碼為19920706
環境信息:win server2003,SQL Server2008 R2
賬號信息存在於數據庫usr02表中,
1.刪除指定CLIENT的SAP*的記錄
2.修改default配置文件參數
3.重啟mmc
4.登陸系統
1.刪除指定CLIENT的SAP*的記錄
delete from ER1.er1.USR02 where bname='SAP*' and mandt='066'
2.修改default配置文件參數
login/no_automatic_user_sapstar = 0
3.重啟mmc
4.登陸系統
使用SAP*/pass登陸系統
以上方法適合任何已知Client的密碼都不知道的情況
以上的方法是直接刪除賬號記錄,重新登陸系統后,查看數據庫表並無 006 Client SAP*賬號
的記錄,系統是通過修改配置文件繞過登錄驗證,配置信息login/no_automatic_user_sapstar
= 0刪除掉之后,仍然不能再登陸系統。
通過修改數據庫表方式
如要更改066 Client的SAP*賬號密碼,則將000 Client的SAP*的賬號信息更新到066 Client SAP*
查詢數據
select top 100 * from ER1.er1.USR02 where bname='SAP*'
更新數據
update ER1.er1.USR02 set bcode=( select bcode from ER1.er1.USR02 where bname='SAP*' and mandt='000' ),locnt=0,erdat=( select erdat from ER1.er1.USR02 where bname='SAP*' and mandt='000' ),trdat=( select trdat from ER1.er1.USR02 where bname='SAP*' and mandt='000' ),ltime=( select ltime from ER1.er1.USR02 where bname='SAP*' and mandt='000' ),passcode=( select passcode from ER1.er1.USR02 where bname='SAP*' and mandt='000' ),pwdchgdate=( select pwdchgdate from ER1.er1.USR02 where bname='SAP*' and mandt='000' ),pwdlgndate=( select pwdlgndate from ER1.er1.USR02 where bname='SAP*' and mandt='000' ),pwdsetdate=( select pwdsetdate from ER1.er1.USR02 where bname='SAP*' and mandt='000' ),pwdinitial=( select pwdinitial from ER1.er1.USR02 where bname='SAP*' and mandt='000' ),pwdlockdate=( select pwdlockdate from ER1.er1.USR02 where bname='SAP*' and mandt='000' ),pwdsaltedhash=( select pwdsaltedhash from ER1.er1.USR02 where bname='SAP*' and mandt='000' ) where bname='SAP*' and mandt='066'
1.更新指定CLIENT的SAP*的記錄
2.重啟mmc
3.登陸系統
使用已知的000 Client SAP*的密碼登陸