ITPub博客

首页 > 数据库 > Oracle > ORACLE ERP修改密码的方法

ORACLE ERP修改密码的方法

原创 Oracle 作者:lusklusklusk 时间:2018-02-07 15:20:07 0 删除 编辑
首先ERP的用户分两大类,应用用户、数据库用户;其中数据库用户又分两类,ERP相关的、ERP无关的

应用用户:WEB页面的登录用户如sysadmin、asadmin
ERP相关的数据库用户:如APPS、AK、IBC这些
ERP无关的数据库用户:如system或单纯使用sqlplus>create user username的

数据库中查询和和ERP无关的数据库用户
select * from dba_users where username not in(select APPLICATION_SHORT_NAME from APPS.FND_APPLICATION_VL) and account_status='OPEN' order by user_id desc
或
select * from dba_users where username not in(select ORACLE_USERNAME from APPS.fnd_oracle_userid) and account_status='OPEN' order by user_id desc
不过貌似下面这个是对的,因为查出的ABM居然不受FNDCPASS ALLORACLE修改密码的影响


su - oracle
sqlplus / as sysdba
alter user system identified by manager01;

su -applmgr
FNDCPASS apps/123456 0 Y system/manager01 user 101004871 PwD20180207
--修改ERP WEB登录界面用户101004871的密码为PwD20180207
--apps的密码为123456,system的密码为manager01

FNDCPASS apps/123456 0 Y system/manager01 SYSTEM APPLSYS apps
--修改apps和applsys的密码为apps,apps原来的密码是123456

FNDCPASS apps/apps 0 Y system/manager01 ALLORACLE apps
--修改所有和ERP相关的数据库用户的密码为apps

FNDCPASS apps/apps 0 Y system/manager01 oracle hwms 666666
--单独修改和ERP相关的数据库用户hwms的密码为666666
--如果该数据库用户和ERP不相关,会报错如APP-FND-02702: XX is not a valid oracle user.






To change an Oracle E-Business Suite user's password:
You can use this command to change an individual Oracle E-Business Suite user's password.
FNDCPASS 0 Y USER  
For example, if you were changing the password for the user VISION to 'WELCOME', you would use the following command:
FNDCPASS apps/apps 0 Y system/manager USER VISION WELCOME

logon             The Oracle username/password.
system/password     The username and password for the System DBA account.
username     The Oracle E-Business Suite username. For example, 'VISION'.
new_password     The new password



To change the APPS and APPLSYS (type 2) schema password:
Use this command to change passwords for schemas that are used by shared components of Oracle E-Business Suite.
FNDCPASS 0 Y SYSTEM  
For example, the following command changes the APPLSYS password to 'WELCOME'.
FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS WELCOME

logon The Oracle username/password.
system/password The username and password for the SYSTEM DBA account.
username The APPLSYS username. For example, 'applsys'.
new_password The new password.
--以上命令看起来是修改applsys,其实apps和applsys一起都修改了



To change all ORACLE (type 3) schema passwords:
Use this command to change the passwords of all schemas provided by Oracle Application products.
FNDCPASS 0 Y ALLORACLE  
For example, the following command changes all ORACLE schema passwords to "WELCOME":
FNDCPASS apps/apps 0 Y system/manager ALLORACLE WELCOME

logon           The Oracle username/password.
system/password   The username and password for the SYSTEM DBA account.
new_password   The new password.



To change an Oracle E-Business Suite schema password (type 3) (other than APPS/APPLSYS):
Use this command to change the password of a schema provided by an individual product in Oracle E-Business Suite.
FNDCPASS 0 Y ORACLE  
For example, the following command changes the GL user password to 'GL1'.
FNDCPASS apps/apps 0 Y system/manager ORACLE GL GL1

logon           The Oracle username/password.
system/password   The username and password for the SYSTEM DBA account.
username   The Oracle username. For example, 'GL'.
new_password   The new password.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30126024/viewspace-2150923/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Welcome to Lukes DB HOME。 Oracle OCM、Mysql OCP, 10年DBA工作经验,博客仅记录自己的一个学习过程,不代表完全准确,如有需要,欢迎转载。

注册时间:2015-02-02

  • 博文量
    348
  • 访问量
    1175028