`
hai0378
  • 浏览: 528326 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

SAP netweaver更改密码

 
阅读更多

Netweaver AS Java 管理密码重置方法

 

我的环境是Netweaver2004s sp6, 使用纯java source。 由于被多次输错密码(6次),管理用户Administrator被lock住了。经过实验,用下面步骤解决了:
1. 用configtool启用SAP*用户:
默认情况下,这个用户是被disable了的,我们需要用configtool去enable它。启动configtool:
cluster-data---->instance_ID######---->server_ID######---->services---->com.sap.security.core.ume.service
在 右边的Global properties里找到ume.superadmin.activated,把它set成TRUE,再修改 ume.superadmin.password的属性值改密码,改完之后保存然后重启AS Java Engin(只需要在sap console里重启server0)(注意:SAP*用户被启用后,其他所有用户都会被lock住)

2. 用VA重新enable Administrator并修改密码:
启动Visual Administrator,用刚刚enable的sap*用户和刚设置的密码登陆VA。
Cluster---->ID---->Server 0 #### ---->Services----> Security Provider
选右边Runtime tab里的User Management, 在Users里面Search出所有用户,选中Administrator用户,切换到编辑模式(点一下tab页面上面的铅笔按钮),unlock这个用户,在下面修改密码之后退出VA.

3. 用configtool停用sap*用户:
sap*用户启用时,其他用户都无法登陆系统。按照步骤一把ume.superadmin.activated属性改成false后重启AS Java,至此Administrator用户又可以正常的登陆进系统了。

------------------------------------------------------------------------------------------------
以下是sap的官方帮助,其他版本的密码重置可以参考:

The administrator user cannot log on to the J2EE Engine using the Visual Administrator.
Other terms
SAP J2EE Engine, users, administrator, SDM, password
Reason and Prerequisites
The administrator user cannot log on to the J2EE Engine because it has been locked, for example, due to numerous unsuccessful logon attempts. If you have not yet created any additional administrator user(s), then you cannot log on to the J2EE Engine to perform administrative tasks.
Solution
To correct this situation, you have to use an emergency user. The corresponding emergency user depends on the installtion:

If you use the User Management Engine (UME) with an AS ABAP as the data source, then log on to the corresponding AS ABAP system and unlock the administrator user (default user ID: J2EE_ADMIN) using the user maintenance transaction SU01.

As of SAP NetWeaver '04 (J2EE Engine Release 6.30 SP 4), the emergency user is pre- defined as SAP*.

Prior to SP4, you have to set up your own emergency user.
The procedures according to each release / SP level are described below.
SAP NetWeaver 2004s
For information about how to activate the emergency user SAP*, see the SAP NetWeaver SAP Library documentation at http://help.sap.com/nw2004s. Choose the desired language. In the SAP Library, use the following path: "SAP Library -> SAP NetWeaver Library -> SAP NetWeaver by Key Capability -> Security -> Identity Management -> User Management Engine -> Troubleshooting -> Activating the Emergency User". Log on to the Visual Administrator using the emergency user and unlock the Administrator user. Afterwards, deactivate the emergency user.
SAP NetWeaver '04 / SAP J2EE Engine Release 6.30 SP >= SP4
For information about how to activate the emergency user SAP*, see the SAP NetWeaver SAP Library documentation at http://help.sap.com/nw04. Choose the desired language. In the SAP Library, use the following path: "SAP Library -> SAP NetWeaver -> Security -> Identity Management -> User Management Engine -> UME User Administration -> Activating the Emergency User". Log on to the Visual Administrator using the emergency user and unlock the Administrator user. Afterwards, deactivate the emergency user.
SAP J2EE Engine Release 6.30 SP <= SP3
Prior to SP4, you have to set up your own emergency administrator user. Also, because you cannot log on to the J2EE Engine as an administrator using the Visual Administrator, you have to use the Shell Console Administrator tool. Therefore, stop the SAP J2EE Engine and restart it in console mode. See the procedures below.
Stopping the SAP J2EE Engine
First you have to stop the SAP J2EE Engine. Under Windows, you can use the Microsoft Management Console for SAP Systems (SAPMMC). As an alternative or for UNIX systems, use the tool jcmon, which is located in the engine's /usr/sap/<SID>/sys/exe/run directory. Note: You only need to stop a single server. You do not need to stop the dispatcher. To stop the server using jcmon:
1. Start a shell or command prompt.
2. Switch to the directory /usr/sap/<SID>/<j2ee-instance>/j2ee/os_libs.
3. Execute the command jcmon pf=../../../SYS/profile/<sid>_<j2ee-instance>_<host >
4. Enter 20 to start the local administration menu.
5. Enter 4 and then the process index number (not the PID) to stop the server.
Starting the SAP J2EE Engine in Console Mode
To start the server in console mode:
1. View the server's property file: /usr/sap/<SID>/<j2ee-instance>/j2ee/cluster/instan ce.properties This file contains the server properties in the form <key>=<value>, whereby each key is prefixed with an indicator. For example, for the key ID169739450.MaxHeapSize 8, the prefix isID169739450.
2. Search for the entry <prefix>.Type=server and note the prefix. We refer to this indicator as <prefix-server> below.
3. Start a new shell or command prompt.
4. Switch to the directory /usr/sap/<SID>/<j2ee-instance>/j2ee/os_libs.
5. Set the library path to this directory.
The name of the environment variable to use depends on your operating system (LD_LIBRARY_PATH for most UNIX systems,SHLIB_PATH for HP-UX, LIBPATH for AIX, PATH for Windows). You can find the name and value to use in the developer trace file /usr/sap/<SID>/<j2ee-instance>/work/dev_jcontrol; search for "lib path" for the node for <prefix-server>.
For HP-UX, also set the environment variable LD_PRELOAD to the base name of the Java VM shared library. In this case, the name to use depends on your CPU type; use either "LD_PRELOAD=libjvm.sl" for PA-RISC or "LD_PRELOAD=libjvm.so" for HPIA64.
6. To start the server, execute the command: jlaunch -file=../cluster/instance.properties -nodeName=<prefix-server> pf=../../../SYS/profile/<sid>_<j2ee-instance>_<host >-traceFile= <trace_file> -startMode=console Enter the command in a single line. Note that the parameter pf does not have minus sign as a prefix. This is correct.
7. Wait until the server has started. (The prompt '>' appears.)
Create an Emergency User, Unlock Administrator, Delete Emergency User
1. Once the server is running, enter the following commands to create the emergency user and assign it to the administrators group: add user create_user emergency password emergency <password> group_user emergency administrators
2. Log on to the Visual Administrator as this emergency user.
3. Under <Cluster> > Server > Services > Security Provider , choose the "User Management" tab page. Unlock the user Administrator and provide a new password.
4. Log off from the Visual Administrator.
5. Log on as the user Administrator.
6. Delete the emergency user.
7. Log off from the Visual Administrator.
8. In the command prompt where the server is running, enter the command shutdown to shut down the server that you started in console mode.
9. In SAPMMC (or using jcmon), restart the server.
Result
The user Administrator can now log on to the J2EE Engine.
Header Data





Release Status:

Released for Customer

Released on:

29.11.2006  13:26:52

Priority:

Recommendations/additional info

Category:

Consulting

Primary Component:

BC-JAS-SEC Security, User Management

Secondary Components:

BC-CTS-SDM Software Delivery Manager for Java
Releases

Software Component

Release

From Release

To Release

And subsequent

SAP-JEE

60

6.40

6.40



Related Notes
997810 - Troubleshooting Common SDM 6.40/04s Issues 728075 - EP 6.0: Unable to access logon page 715371 - SAP J2EE - Composite SAP note on security Basis 6.30/6.40 713210 - Restrictive ACL settings can block access to portal 2383 - Documentation: description of "super user" SAP* 
分享到:
评论

相关推荐

    change sdm password in netweaver

    在本篇文章中,我们将详细介绍如何在SAP NetWeaver环境中更改SDM(SAP Diagnostics Manager)密码。本文将基于给定的标题、描述、标签以及部分内容,深入探讨这一过程中的关键步骤及其背后的技术原理。 ### 一、...

    SAP.connector 连接SAP需要的DLL打包

    此外,还要关注SAP系统的版本兼容性和更新,因为新的SAP版本可能引入了新的功能或更改了现有的接口。 总的来说,SAP Connector为C#开发者提供了强大且灵活的工具,能够轻松地集成SAP系统,实现企业业务流程的自动化...

    sap JDBC数据源配置

    本文档旨在提供详细的步骤指南,用于在SAP NetWeaver 7.0 和 SAP Composite Environment (CE) 7.1 上配置 JDBC 数据源和系统。通过这些步骤,用户可以创建一个独立的数据源来连接到数据库。该文档将详细介绍如何为 ...

    SAP adm100中文版

    阅读saplogon.ini、选择“登录开始登录、可变的登录按钮:无saplogon.ini变化、评估(evaluate)sapmsg.ini和服务、新建项目按钮:编辑saplogon.ini、评估sapmsg.ini和服务、更改项目按钮:编辑saplogon.ini、删除...

    SAP安全快速指南.docx

    13. **密码策略参数**:包括密码长度、复杂性要求和默认更改规则,管理员可通过SAP系统设置这些参数以加强系统安全。 综上所述,SAP安全涉及多个层面,从用户管理、网络通信到数据库安全,每个环节都需要严格控制和...

    sapjco3.rar

    它是SAP NetWeaver Gateway的一部分,允许开发者利用Java语言实现与R/3或SAP HANA等SAP系统的集成。`sapjco3.rar`文件包含的是SAP JCo 3版本的库和相关文档,对于需要在Java环境中与SAP系统交互的开发者来说非常关键...

    excel 调用SAP  函数

    虽然您可以根据自己的需求调整列和行以识别系统(例如更改界面设计),但需要注意的是,如果您这样做,则需要相应地修改提供的VBA示例代码。 ##### SystemDefinition和Logon 首先,您需要声明想要连接的系统。在这...

    python连接sap.rar

    在Python中,通常使用第三方库如`pyrfc`或`sapnwrfc`来连接到SAP NetWeaver RFC Server。这些库实现了远程功能调用(RFC),允许外部系统(如Python)与SAP系统进行通信。RFCS是一种标准化的接口,使得非SAP系统能够...

    SAP Java Connector 3.0 Patch 19

    SAP JCo 3.0是SAP NetWeaver技术的一部分,它提供了一组Java接口和类库,使得开发人员可以利用Java语言来实现与SAP R/3或ABAP后端系统的交互。这个连接器支持多种通信协议,如RFC(远程功能调用)和BAPI(业务对象...

    SAP安全---快速指南 共62页 2018年编著 word文档

    - SAP NetWeaver身份管理:用于用户管理、角色管理和角色分配。 - PFCG角色:使用概要文件生成器PFCG创建角色并为基于ABAP的系统中的用户分配权限。 - 中央用户管理:使用CUA为多个基于ABAP的系统维护用户,可以...

    java jco sap

    JCO是SAP Java Connector的缩写,它是一个中间件,为Java开发者提供了与SAP R/3或SAP NetWeaver ABAP应用服务器通信的接口。JCO基于标准的Java JDBC(Java Database Connectivity)模型,提供了一种面向对象的方式...

    sapjco.rar

    SAP Java Connector(简称SAP JCo)是SAP公司提供的一个关键组件,它使得Java开发者能够利用远程功能调用(RFC)协议与SAP R/3或SAP NetWeaver系统进行通信。 SAP JCo提供了丰富的API,允许Java应用程序执行诸如...

    SAP安全快速手册.docx

    - 密码策略应包括预设/初始密码更改、密码长度、密码复杂性等要求。 **6. 在Unix和Windows平台中的SAP系统安全** - 在不同操作系统平台上实施相应的安全措施,确保跨平台的一致性。 **7. 单点登录概念** - 实现单...

    sapjco3.0.5.zip

    这个“sapjco3.0.5.zip”文件包含了SAP JCo 3.0.5版本,这是一个用于连接Java应用程序到SAP R/3或SAP NetWeaver ABAP系统的接口。在这个压缩包中,我们主要关注的是“sapjco3-x86-32bit-3.0.5”子文件夹,它包含了...

    SAP Hana NetWa 750 安装教程。

    在本文中,我们将深入探讨如何执行SAP Hana NetWeaver 750的安装过程。SAP Hana是一款高效的企业级数据管理平台,而NetWeaver是SAP的应用服务器和开发平台,两者结合提供了强大的业务应用支持。下面将按照描述中的...

    system copy -oracle

    同时,确保数据库路径、用户权限和密码设置正确,例如,为`oraabc`用户创建目录并修改密码。 接下来,需要安装Oracle数据库。进入安装目录,如`/oracle/stage/102_64/database/SAP`,执行`./runInstaller`开始安装...

    SAPSMTP邮箱系统配置手册(发送邮件).pdf

    该配置手册将关注于SAP系统的邮件发送功能,特别是在SAP NetWeaver 7.4、EHP7和SAP ERP 6.0版本中的应用。 首先,SAP SMTP配置的基础知识包含以下方面: 1. **SAP SMTP 简介**:SMTP(Simple Mail Transfer ...

    SAP Java Jco3.0.19 Windows 全平台 32bit 64bit

    1. **双向通信**:JCo允许非SAP应用与R/3或NetWeaver系统进行双向通信。你可以通过Java应用程序调用SAP RFC(远程功能调用)函数模块,同时也能让SAP系统调用Java实现的功能。 2. **平台无关性**:JCo设计为跨平台...

    IDES ECC6.0安装全攻略.pdf

    - **SAP NetWeaver 2004 SSR1 Java组件**: CD Number 51031693 - **SAP NetWeaver 2004 SSR1**: CD Number 未提供 - **Kernel**: 7.00 (CD Number 51031778) ### 安装过程截图说明 #### 3.1 Oracle安装截图 - **...

Global site tag (gtag.js) - Google Analytics