Created
March 14, 2019 10:03
-
-
Save kshimi/fe359dc3a92545a42045e4d2142197ed to your computer and use it in GitHub Desktop.
Oracle release 11g strict default constraint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 監査取得設定確認 | |
select USER_NAME,PRIVILEGE,SUCCESS,FAILURE from DBA_PRIV_AUDIT_OPTS | |
order by PRIVILEGE; | |
select USER_NAME,AUDIT_OPTION,SUCCESS,FAILURE from DBA_STMT_AUDIT_OPTS | |
order by AUDIT_OPTION; | |
-- 監査OFF設定 | |
@rdbms\admin\undoaud.sql | |
-- Defaultプロファイル制限確認 | |
select PROFILE,RESOURCE_NAME,RESOURCE_TYPE,LIMIT from DBA_PROFILES | |
where RESOURCE_TYPE='PASSWORD' order by RESOURCE_NAME; | |
-- Defaultプロファイル制限解除 | |
@rdbms\admin\undopwd.sql | |
-- パスワードCaseSensitive確認 | |
show parameter sec_case_sensitive_logon | |
-- パスワードCaseSensitive解除 | |
alter system set sec_case_sensitive_logon=FALSE scope=both; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment