Change resource of a profile by Example.
Example: Change IDLE_TIME from 480 minutes to UNLIMITED
SELECT profile, resource_name, limit
FROM DBA_PROFILES
WHERE limit NOT IN ('UNLIMITED','DEFAULT');
PROFILE RESOURCE_NAME LIMIT
-------------------- -------------------------------- ---------------
APP_PROF IDLE_TIME 480
APP_PROF PASSWORD_VERIFY_FUNCTION
ORA12C_STIG_VERIFY_FUNCTION
GSM_PROF FAILED_LOGIN_ATTEMPTS 10000000
DEFAULT PASSWORD_VERIFY_FUNCTION NULL
DEFAULT PASSWORD_LOCK_TIME 1
ORA_STIG_PROFILE IDLE_TIME 15
ORA_STIG_PROFILE FAILED_LOGIN_ATTEMPTS 3
ORA_STIG_PROFILE PASSWORD_LIFE_TIME 60
ORA_STIG_PROFILE PASSWORD_REUSE_TIME 365
ORA_STIG_PROFILE PASSWORD_REUSE_MAX 10
ORA_STIG_PROFILE PASSWORD_VERIFY_FUNCTION ORA12C_STIG_VERIFY_FUNCTION
ORA_STIG_PROFILE PASSWORD_GRACE_TIME 5
ORA_STIG_PROFILE INACTIVE_ACCOUNT_TIME 35
ALTER PROFILE APP_PROF LIMIT IDLE_TIME UNLIMITED;
SELECT profile, resource_name, limit
FROM DBA_PROFILES
WHERE resource_name ='IDLE_TIME';
PROFILE RESOURCE_NAME LIMIT
-------------------- -------------------------------- ---------------
DEFAULT IDLE_TIME UNLIMITED
GSM_PROF IDLE_TIME DEFAULT
ORA_STIG_PROFILE IDLE_TIME 15
APP_PROF IDLE_TIME UNLIMITED
Note: This will effect only new sessions.
No comments:
Post a Comment