Professional Documents
Culture Documents
05 - Oracle PROFILES
05 - Oracle PROFILES
05 - Oracle PROFILES
http://psoug.org/reference/profiles.html
General
Dependencies
System Privileges
profile$
profname$
dba_profiles
alter profile
create profile
drop profile
resource_limit = TRUE
set linesize 121
col name format a30
col value format a30
SELECT name, value
FROM gv$parameter
WHERE name = 'resource_limit';
ALTER SYSTEM SET resource_limit=TRUE
SCOPE=BOTH;
SELECT name, value
FROM gv$parameter
WHERE name = 'resource_limit';
Kernel Resources
COMPOSITE_LIMIT
CONNECT_TIME
CPU_PER_CALL
CPU_PER_SESSION
LOGICAL_READS_PER_
CALL
LOGICAL_READS_PER_
SESSION
PRIVATE_SGA
SESSIONS_PER_USER
Password Resources
The number of failed attempts to log in to the user
account before the account is locked
FAILED_LOGIN_ATTEMP
TS
PASSWORD_GRACE_TI
ME
password expires
password_gracetime <value | UNLIMITED |
DEFAULT>
ALTER PROFILE developer LIMIT password_grace_time
10;
The number of days the same password can be used for
authentication
PASSWORD_LIFE_TIME
PASSWORD_LOCK_TIM
E
PASSWORD_REUSE_MAX
PASSWORD_REUSE_TIME
Password Verification
Sample script for
creating a password
verify function
{ORACLE_HOME}/rdbms/admin/utlpwdmg.sql
Changing passwords
with a password verify
function
Create Profiles
List things that can be
limited in a profile
Create profile
Alter Profile
Alter profile syntax
Assign Profile
Drop Profile
Drop Profile without
Users
Drop Profile with
Users
DROP
DROP
DROP
DROP
PROFILE
PROFILE
PROFILE
PROFILE
<profile_name>
developer;
<profile_name> CASCADE;
developer CASCADE;