How to Recover apps password in r12.2

 If we forget the apps password for r12.2 instance follow the below steps to recover the password

Step 1 : Login to Database server

sqlplus / as sysdba

STEP 2 : Create Function for to decrypt the encrypted password


SQL> create FUNCTION apps.decrypt_pin_func(in_chr_key IN VARCHAR2,in_chr_encrypted_pin IN VARCHAR2)
RETURN VARCHAR2
AS
LANGUAGE JAVA NAME 'oracle.apps.fnd.security.WebSessionManagerProc.decrypt(java.lang.String,java.lang.String) return java.lang.String';
/

Function created.


STEP 3 : Query for encrypted password

SQL> select ENCRYPTED_FOUNDATION_PASSWORD from apps.fnd_user where USER_NAME='GUEST';


Output

ENCRYPTED_FOUNDATION_PASSWORD
--------------------------------------------------------------------------------
ZG37E123746712BDB2D99E048FE44AE662F2713E2EDB443391BABA0414CADDB7A2E6DD45BBAFA7270A663E5EEBA837F5548A

STEP 4: Query for decrypt the password

SELECT apps.decrypt_pin_func('GUEST/ORACLE','ZG37E123746712BDB2D99E048FE44AE662F2713E2EDB443391BABA0414CADDB7A2E6DD45BBAFA7270A663E5EEBA837F5548A') from dual;


Output

APPS.DECRYPT_PIN_FUNC('GUEST/ORACLE','ZG37E15896215BDB2D99E048FE44AE662F2713E2EDB443391BABA0414CADDB7A288Ycc334GRN63E5EEBA837F5548A')
--------------------------------------------------------------------------------
cloneapps


STEP 5: Test apps password

SQL> conn apps/cloneapps
Connected.

Comments

Popular posts from this blog

How to troubleshoot long running concurrent request in R12.2

How to run Gather Schema Statistics in R12.2

How to compile forms in R12.2