Oracle Application Express (APEX) : Change the Admin Password
This article describes the two methods of changing the admin password for APEX.
oracle miscconfigurationintermediate
by OracleDba
15 views
This article describes the two methods of changing the admin password for APEX.
12
SQL> CONN sys@pdb1 AS SYSDBA
SQL> @apxchpwd.sql12345678910111213141516171819202122232425262728293031323334
ALTER SESSION SET CURRENT_SCHEMA = APEX_190100;
COLUMN user_id Format 99999999999999999
COLUMN first_name FORMAT A20
COLUMN last_name FORMAT A20
COLUMN default_schema FORMAT A30
SELECT user_id,
first_name,
last_name,
default_schema
FROM wwv_flow_fnd_user
WHERE user_name = 'ADMIN'
ORDER BY last_update_date DESC;
USER_ID FIRST_NAME LAST_NAME DEFAULT_SCHEMA
------------------ -------------------- -------------------- ------------------------------
1250128976437207 APEX_190100
SQL>
UPDATE wwv_flow_fnd_user
SET web_password = 'ApexPassword1'
WHERE user_name = 'ADMIN'
AND user_id = 1250128976437207;
COMMIT;
BEGIN
WWV_FLOW_SECURITY.g_security_group_id := 10;
WWV_FLOW_FND_USER_API.unlock_account('ADMIN');
COMMIT;
END;
/Please to add comments
No comments yet. Be the first to comment!