Oracle EBS application user passwords are encrypted in FND_USER and must never be updated directly. To reset one from the backend, call FND_USER_PKG.CHANGEPASSWORD, which returns TRUE when the new password is accepted. This is handy in cloned development or test instances where the System Administrator form is not yet usable.
PL/SQL: reset a user’s password
--
DECLARE
v_user_name VARCHAR2 (30) := UPPER ('AMOL');
v_new_password VARCHAR2 (30) := 'welcome1';
v_status BOOLEAN;
BEGIN
v_status :=
fnd_user_pkg.ChangePassword (username => v_user_name,
newpassword => v_new_password);
IF v_status = TRUE
THEN
DBMS_OUTPUT.put_line (
'The password reset successfully for the User:' || v_user_name);
COMMIT;
ELSE
DBMS_OUTPUT.put_line (
'Unable to reset password due to'
|| SQLCODE
|| ' '
|| SUBSTR (SQLERRM, 1, 100));
ROLLBACK;
END IF;
END;
/
Notes
- Run as APPS. The new password must meet the instance’s password rules (profile options such as Signon Password Length and Signon Password Hard to Guess).
- A password set this way is normally not expired, so ask the user to change it after logging in, or reset it from the Define User form instead, which forces a change at next login.
- Use this only in non-production instances or under your security team’s process; production resets should go through the normal user administration flow.
How do I reset an Oracle Apps password from the backend?
Call FND_USER_PKG.CHANGEPASSWORD(username, newpassword) as APPS and commit when it returns TRUE.
Can I update FND_USER.ENCRYPTED_USER_PASSWORD directly?
No. The password is encrypted and must be set through FND_USER_PKG or FNDCPASS-style tools.
Related queries
- PL-SQL code to add responsibility to application user
- Query to Find Responsibilities Attached to a User in Oracle Apps
- Query to Find Which Responsibility and User Has a Form Function
- How to Enable FND Debug Log in Oracle Apps EBS and Read the Messages
- Register a Test Concurrent Program from the Backend in Oracle EBS (FND_PROGRAM)
- Supervisor Hierarchy and Approval Limits Query in Oracle EBS R12
- Query to Find Vacation Rules (Workflow Delegations) in Oracle R12
- View Java Class Source in Oracle Database
- Load and Call Java Source Code in Oracle Database (Step by Step)
- Query to Find All Public APIs of Oracle Apps Modules
- OAF Personalization and Customization Queries (JDR_UTILS)
- Query to List Concurrent Programs in a Request Set (Stages and Executables)
- Query to Get Organization Hierarchy in Oracle Apps
- Query to Find Incompatible Programs Blocking a Concurrent Request (Pending Standby)
- Query to Find Which Responsibility and User Has a Form Function
- Query to Find Responsibilities Attached to a User in Oracle Apps
- How to Enable FND Debug Log in Oracle Apps EBS and Read the Messages
- How to Add AME Roles and Responsibility to a User in Oracle Apps R12
- Find Which Responsibility a Form Is Attached To, with Full Navigation Path
- Oracle SQL Query to Get the MIME Type for a File Extension
- Query to Get Concurrent Program and Executable Details in Oracle Apps
- Query to Get Responsibility Level Profile Option Values in Oracle Apps
- Query to Validate Migration of XML/BI Publisher Templates and Data Definitions
- Query to Get Details of XML/BI Publisher Templates and Data Definitions
- Query to Get Site Level and Organization Level Profile Option Values
- PL/SQL Code to Reset an Oracle Apps User Password (FND_USER_PKG.CHANGEPASSWORD)
- PL/SQL Procedure to Send Email with Attachment (UTL_SMTP)
- PL/SQL to Delete a Concurrent Program and Executable (FND_PROGRAM)
- Query to Get Details of Locks in the Oracle Database (Lock Mode and Request)
- PL/SQL Code to Delete an XML/BI Publisher Template and Data Definition
- Query to Find Form Personalizations in Oracle Apps
- Query to Find Profile Option Values at All Levels in Oracle Apps
- Query to Get Concurrent Program Parameter Details
- PL/SQL Code to Find the Menu Hierarchy of a Responsibility
- Query to Find Flex Value Set Details and Values in Oracle Apps
- Query to Find a Concurrent Program’s Responsibility and Request Group
- Find the SQL Statement a Concurrent Program Is Currently Running
- Query to Find Scheduled Concurrent Programs in Oracle Apps
- Kill the Database Session of a Concurrent Request from the Backend
- Query to Get Descriptive Flexfield (DFF) Details in Oracle Apps
