Oracle Applications 11i 에서 APPS 암호 변경하기
Oracle ERP DB 계정의 암호는 alert 명령어로 변경할 수 없다. 변경시 ERP 기능의 critical 한 문제가 발생한다. Oracle ERP DB 계정의 암호를 변경하고자 할 때는 아래와 같이 FNDCPASS 를 실행하여 수행해야한다. Oracel Application 11i or 12i 모두 작업의 방법은 동일하다.
작업 순서
. 작업 전 fnd_oracle_userid,fnd_user 테이블을 백업해 둔다.
. 각 nodes 의 Applications Tier services (APPL_TOP, 8.0.6 and iAS ORACLE_HOME)를 중지한다.
. Database Tier Services (RDBMS ORACLE_HOME)는 가동중이어야 한다.
. 각 Oracle Applications Tier 에 있는 $FND_TOP/bin 아래 FNDCPASS 를 통해 실행가능하다.
. APPS 와 APPLSYS 의 암호는 동일해야한다. APPS 가 아닌 APPLSYS 암호를 변경함으로써 APPLSYS 암호는 물론 APPS 의 암호도 동일하게 변경된다.
To change the APPLSYS password:
FNDCPASS apps/apps_schema_password 0 Y system/system_schema_password SYSTEM APPLSYS new_password
Ex : FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS CITRIX123
To change an Oracle user password:
FNDCPASS apps/apps_schema_password 0 Y system/system_schema_password ORACLE apps_database_user new_password
Ex : FNDCPASS apps/apps 0 Y system/manager ORACLE GL GL_TEST
. Application Tier 가 설치된 각 nodes 에서 Autoconfig 를 수행한다. (필수)
. 각 노드의 Appication Tier services 를 재시작한다.
autoconfig 를 수행하기 어려운 상황에서 예외적으로 아래와 같이 변칙적으로 진행할 수 있다. 다만 환경에 따라 서비스의 제약이 발생할 수 있으므로 충분한 TEST 와 검증이 필요하다.
FNDCPASS 를 이용해 작업을 수행하게 되면 다음의 config 파일들이 업데이트 된다. 때문에 이 파일들의 apps 암호를 수동으로 변경해주면 된다.
$IAS_ORACLE_HOME/Apache/modplsql/cfg/wdbsvr.app
$ORACLE_HOME/reports60/server/CGIcmd.dat
f60gen 관련 Forms Generate Shell Script
RD Server 처럼 3rd Program 의 connection 정보 변경
ERP DB 에 연결된 remote DB 의 DB_Link 설정을 변경한다. (HR 보안상 apps 계정에 직접 db_link 를 연결하는 것은 비권장한다.)
Oracle Application 12i 에서 update 되는 configuration files들은 다음과 같다.
If you changed the APPS (and APPLSYS) password, update the password in this file:
$ORACLE_HOME/reports/server/CGIcmd.dat
If you changed the APPLSYSPUB password, update the password in these files:
$FND_TOP/resource/appsweb.cfg
$OA_HTML/bin/appsweb.cfg
$INST_TOP/admin/fnd/12.0.0/secure/<host_name>_<dbname>.dbc
fnd_user_pkg.ChangePassword 프로시져를 이용하여 변경 할 수도 있다
declare
a boolean;
begin
a = fnd_user_pkg.changepassword('VISION', 'WELCOME');
end;
/
패스워드 변경 로그 파일
SQL> alter session set nls_date_format='DD-MON-YYYY HH24:MI:SS';
SQL> select user#,name,ctime,ptime,exptime,ltime from user$ where name='&username';
참고로 ERP 웹 계정 암호 검증 방법
ERP 웹 계정 암호를 잊어버렸을 때 웹 화면에서 로그인 시도시 정책에 따라 Locked 될 수 있다.
그래서 DB 단에서 아래와 같이 검증해 볼 수 있다.
SQL> SELECT fnd_web_sec.validate_login('SYSADMIN','SYSADMIN') FROM dual;
SQL> select fnd_message.get from dual;
위 작업 후 ERP 웹 접속은 잘 되지만 Forms 실행이 안되는 경우가 있다. 그럴 때는 아래와 같이 조치하여 정상화 시킨 사례가 있다.
http://cafe.naver.com/metanetbts/1929
이젠 #샤P핑이 대세!!
쇼팽도 놀랐다!
#샤P핑 하러 가자~~~~
심심할 땐 #샤P핑의 세계로 - GoGo~