阅读文章

Changing password of SAPR3 or SAP

[日期:2007-08-07] 来源:  作者: [字体: ]

Symptom
Changing the password of SAPR3 or SAP<SID> with SAPDBA.

Additional key words
Encryption, encrypt, decrypt, CRYPT, SAPR3-CRYPT, SAPUSER, password

Cause and preconditions
Caution:

The SAP system must not run during the password change since otherwise new connects are no longer possible.

After the password change, the SAP system needs to be restarted.

Solution
The password of the DB user SAPR3 or SAP<SID> or other users can be changed and (only in case of users SAPR3 and SAP<SID>) encrypted by a DB user with DBA authorization (for example user SYSTEM) with the following command (as of SAPDBA version 4.5B):


sapdba [-u <dba>[/<dba_password>]] -alter_user <username>/<password>


Old variant for user SAPR3 only:

sapdba [-u <dba>[/<dba_password>]] -sapr3 <password>


-u specifies the DBA user changing the password.

Default for -u is system/manager.


Example: sapdba -u system/manager -alter_user sapc11/sap

sapdba -u system/manager -sapr3 sap

or sapdba -sapr3 sap

The general SAP encryption routine is used for encryption.


The option -alter_user <username>/<password> causes the following (the same for -sapr3 <password>):


1. The DB password of the user <username> is changed as specified.
2. The following applies to users SAPR3 and SAP<SID> only:
The new password is entered in SAP-DDIC Table ops$<sapsid>adm.SAPUSER.
If a non-encrypted entry already exists, the new password is again entered non-encrypted (downward-compatible).
If an encrypted entry already exists, the new password is entered encrypted.
If the old entry exists encrypted and non-encrypted, the new password is entered encrypted and non-encrypted.
If no password at all has been entered, the new password is only entered non-encrypted in an SAP System before 4.5B and encrypted in an SAP System as of 4.5B.

You can also change the password interactively with SAPDBA.
Main menu -> "m - User and security" -> "p - Change password".

Call SAPDBA with DBA authorization, for example as user SYSTEM:
sapdba [-u system/<system_password>]

-> Main menu -> m: User and security -> p: Change password
-> a - Password entering mode (invisible/visible)
-> b - User
-> c - Change password

With the interactive entry, the password can be entered in the background (default) if it does not exceed a maximum of 8 characters. Longer passwords up to a maximum of 30 characters can only be entered in the foreground.

Source code corrections



阅读:
录入:hnsywly

评论 】 【 推荐 】 【 打印
上一篇:SAP BASIS R/3 INFO.(4)
下一篇:某个数据文件损坏,如何打开数据库
相关文章      
本文评论       全部评论
  good   (ycaili会员 ,今 19:15 )
发表评论


点评: 字数
姓名:

  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款