(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
CREATE PROFILE pwd LIMIT
PASSWORD_LIFE_TIME 30
PASSWORD_GRACE_TIME 2;
ALTER USER dave PROFILE pwd;
Query DBA_PROFILES to see all profiles
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
ALTER USER dave PASSWORD EXPIRE;
Do the mini-workshop
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
CREATE PROFILE x LIMIT
FAILED_LOGIN_ATTEMPTS 3 -- 3 attempts
PASSWORD_LOCK_TIME 1/1440; -- 1 minute
ALTER USER dave PROFILE x;
ALTER USER username ACCOUNT [LOCK|UNLOCK]
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
CREATE PROFILE x LIMIT
PASSWORD_REUSE_TIME 60
PASSWORD_REUSE_MAX UNLIMITED;
CREATE PROFILE x LIMIT
PASSWORD_REUSE_TIME UNLIMITED
PASSWORD_REUSE_MAX 5;
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
Must connect as SYSDBA
connect system/dave as sysdba
CREATE OR REPLACE FUNCTION verify_function
(username varchar2,
password varchar2,
old_password varchar2)
RETURN boolean IS
Return TRUE if new password is OK
Associate user with verification routine
create profile pwd limit
password_verify_function verify_function;
alter user dave profile pwd;
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).