使用FNDCPASS更改EBS系统中用户密码

来源:互联网 发布:js获取url中的ip地址 编辑:程序博客网 时间:2024/05/16 04:30
使用FNDCPASS更改EBS系统中的ERP用户密码

EBS 11i开始使用FNDCPASS命令,是FND_TOP/bin下的一个专门用来更改密码的工具。
在修改之前,最好先备份密码表:
SQL> conn apps/apps
SQL> create table fnd_user_20120715 as (select * from fnd_user);
SQL> create table fnd_oracle_userid_20120715 as (select * from fnd_oracle_userid);

命令格式:

$ su - applmgr
$ cd /u01/oracle/PROD/apps/apps_st/appl/admin
$ . ./adovars.env
$ FNDCPASS apps/pwd 0 Y system/pwd [system | oracle | user] username <new password>
----
0 is request id (request ID 0 is assigned to request ID's which are not submitted via Submit Concurrent Request Form).
Y indicates the method of invocation. i.e. it is directly invoked from the command-line not from the Submit Request Form.(Y表示调用方法。即它是直接从命令行调用不是从提交申请表。)
----

EX1: 更改APPS 和 APPLSYS 密码:

$ su - applmgr
$ cd /u01/oracle/PROD/apps/apps_st/appl/
$ . ./APPSPROD_ebsr12.env
$ cd admin
$ . ./adovars.env

$ FNDCPASS apps/apps 0 Y system/manager system  applsys newpw

$ cd $ADMIN_SCRIPTS_HOME
$ ./adstpall.sh apps/newpw
$ ./adautocfg.sh

----
修改 APPLSYS 会自动修改 APPS 密码这样两者就会保持一致;
修改完applsys的密码后需要关闭应用层程序后运行autoconfig重新配置整个系统的配置文件。
----

EX2:  更改其他oracle schema的密码:

$ FNDCPASS apps/apps 0 Y system/manager oracle GL newpw
注:非ERP系统关联用户,如sys可以继续使用SQL> alter user sys identified by oracle; 来修改。

EX3:  更改APP应用层里面用户的密码,功能和system administrator职责里一样:

$ FNDCPASS apps/apps 0 Y system/manager user test newpw




原创粉丝点击