oracle 11g/12c 密码复杂度验证设置
###############################################################################
###### 11g ######
###############################################################################
1、开启密码复杂度验证函数
sqlplus / as sysdba
@?/rdbms/admin/utlpwdmg.sql
alter profile default limit password_life_time unlimited;
ALTER PROFILE DEFAULT LIMIT FAILED_LOGIN_ATTEMPTS UNLIMITED;
alter profile DEFAULT limit PASSWORD_LOCK_TIME UNLIMITED;
alter profile DEFAULT limit PASSWORD_GRACE_TIME UNLIMITED;
2、修改default profile的密码策略(实际上执行utlpwdmg.sql后自动修改PASSWORD_VERIFY_FUNCTION)
alter profile default limit PASSWORD_VERIFY_FUNCTION VERIFY_FUNCTION;
3、新建system profile
create profile SYSTEM_PROFILE limit
PASSWORD_LIFE_TIME 60
PASSWORD_GRACE_TIME 90
PASSWORD_REUSE_MAX 5
PASSWORD_REUSE_TIME 60
PASSWORD_VERIFY_FUNCTION VERIFY_FUNCTION;
4、修改sys、system用户profile
alter user sys profile SYSTEM_PROFILE;
alter user system profile SYSTEM_PROFILE;
5、验证
set line 300
col profile for a30
col RESOURCE_NAME for a32
col RESOURCE_TYPE for a13
col LIMIT for a30
col COMMON for a8
SELECT * FROM dba_profiles order by profile;
set line 300
col username for a30
col profile for a60
SELECT username,PROFILE FROM dba_users order by created;
###############################################################################
###### 12c ######
###############################################################################
1、开启密码复杂度验证函数(CDB和PDB都需要执行下面命令)
sqlplus / as sysdba
@?/rdbms/admin/utlpwdmg.sql
alter profile default limit password_life_time unlimited;
ALTER PROFILE DEFAULT LIMIT FAILED_LOGIN_ATTEMPTS UNLIMITED;
alter profile DEFAULT limit PASSWORD_LOCK_TIME UNLIMITED;
alter profile DEFAULT limit PASSWORD_GRACE_TIME UNLIMITED;
2、修改default profile的密码策略(实际上执行utlpwdmg.sql后自动修改PASSWORD_VERIFY_FUNCTION)
alter profile default limit PASSWORD_VERIFY_FUNCTION ora12c_verify_function;
3、新建system profile(CDB执行)
create profile C##_SYSTEM_PROFILE limit
PASSWORD_LIFE_TIME 60
PASSWORD_GRACE_TIME 90
PASSWORD_REUSE_MAX 5
PASSWORD_REUSE_TIME 60
PASSWORD_VERIFY_FUNCTION ora12c_verify_function;
4、修改sys、system用户profile(CDB执行)
alter user sys profile C##_SYSTEM_PROFILE;
alter user system profile C##_SYSTEM_PROFILE;
5、验证(CDB和PDB都需要验证)
set line 300
col profile for a30
col RESOURCE_NAME for a32
col RESOURCE_TYPE for a13
col LIMIT for a30
col COMMON for a8
SELECT * FROM dba_profiles where profile in ('DEFAULT','C##_SYSTEM_PROFILE') order by profile;
set line 300
col username for a30
col profile for a60
SELECT username,PROFILE FROM dba_users order by created;
ora12c_verify_function:
This function is the new 12c password verify function.
It enforce a similar respectively slightly stronger password complexity as verify_function_11G.
verify_function_11G just checked for DB_NAME or ORACLE with 1 to 100 attached. e.g. oracle1 or oracle83.
With the new function DB_NAME or ORACLE may not be part of the password at all.
The following is verified:
Password at least 8 characters
at least 1 letters
at least 1 digits
must not contain database name
must not contain user name or reverse user name
must not contain oracle
must not be too simple like welcome1
password must differ by at least 3 characters from the old password
ora12c_strong_verify_function:
This function is provided to give stronger password complexity.
It considers recommendations of the Department of Defense Database (STIG) with the following limits.
Password at least 9 characters
at least 2 capital letters
at least 2 small letters
at least 2 digits
at least 2 special characters
password must differ by at least 4 characters from the old password
oracle 11g/12c 密码复杂度验证设置的更多相关文章
- Oracle11g R2创建PASSWORD_VERIFY_FUNCTION对应密码复杂度验证函数步骤
Oracle11g R2创建PASSWORD_VERIFY_FUNCTION对应密码复杂度验证函数步骤 运行测试环境:数据库服务器Oracle Linux 5.8 + Oracle 11g R2数据库 ...
- xtts v4for oracle 11g&12c(文档ID 2471245
xtts v4for oracle 11g&12c(文档ID 2471245.1) 序号 主机 操作项目 操作内容 备注: 阶段一:初始阶段 1.1 源端 环境验证 migrate_check ...
- oracle 11g 配置口令复杂度
oracle 11g 配置口令复杂度 使用ORACLE自带的utlpwdmg.sql脚本来实现 找到本地的utlpwdmg.sql脚本 find / -name utlpwdmg.sql 查看 /ho ...
- Oracle 11g改密码有效期
oracle 11g,密码默认有效期为180天,设置为不过期,可在线操作. 步骤: -->>进入oracle用户 su - oracle -->>已sys超级用户登录sqlpl ...
- PL/SQL Developer连接本地Oracle 11g 64位数据库和快捷键设置
1.登录PL/SQL Developer 这里省略Oracle数据库和PL/SQL Developer的安装步骤,注意在安装PL/SQL Developer软件时,不要安装在Program Files ...
- 【ORACLE】oracle数据库用户密码复杂度配置
-- 设置密码复杂度 SQL> @ /u01/app/oracle/product/11.2.0/db_1/rdbms/admin/utlpwdmg.sql -- 测试 SQL> alte ...
- Oracle11g R2创建PASSWORD_VERIFY_FUNCTION相应password复杂度验证函数步骤
Oracle11g R2创建PASSWORD_VERIFY_FUNCTION相应密码复杂度验证函数步骤 运行測试环境:数据库服务器Oracle Linux 5.8 + Oracle 11g R2数据库 ...
- MySQL密码复杂度与密码过期策略介绍
前言: 年底了,你的数据库是不是该巡检了?一般巡检都会关心密码安全问题,比如密码复杂度设置,是否有定期修改等.特别是进行等保评测时,评测机构会要求具备密码安全策略.其实 MySQL 系统本身可以设置密 ...
- Oracle忘记用户名密码
一.oracle 11g登录服务开启 成功安装Oracle 11g后,共有7个服务,这七个服务的含义分别为:1. Oracle ORCL VSS Writer Service:Oracle卷映射拷贝写 ...
随机推荐
- Nginx配置WebService、MySQL、SQL Server、ORACLE等代理
首先介绍一下Nginx的基本使用: 注意不要直接双击nginx.exe,这样会导致修改配置后重启.停止nginx无效,需要手动关闭任务管理器内的所有nginx进程 在nginx.exe目录,打开命令行 ...
- Ubuntu下的Wine&WineQQ
一.安装Wine 1.添加PPA sudo add-apt-repository ppa:ubuntu-wine/ppa 2.更新列表 sudo apt-get update 3.安装Wine sud ...
- 关于Unity中NGUI的Checkbox复选框、Slider滑动条和Button的6种触发回调事件的方式
Checkbox复选框 1.创建一个NGUI背景Sprite1节点 2.打开NGUI---->Open---->Prefab Toolbar---->选择一个复选框节点,拖拽到背景节 ...
- Java如何获取本地计算机的IP地址和主机名?
在Java编程中,如何获取本地计算机的IP地址和主机名? 以下示例显示如何使用InetAddress类的getLocalAddress()方法获取系统的本地IP地址和主机名. package com. ...
- CentOS 7.4编译安装Nginx1.10.3+MySQL5.7.16
准备篇 一.防火墙配置 CentOS 7.x默认使用的是firewall作为防火墙,这里改为iptables防火墙. 1.关闭firewall: systemctl stop firewalld.se ...
- swoole消息推送
socket.php // 注释的部分是学习的笔记 <?php //创建websocket服务器对象,监听0.0.0.0:9502端口 $ws = ); //监听WebSocket连接打开事件 ...
- Unity Remote远程调试
http://www.cnblogs.com/qinghuaideren/p/3623368.html http://blog.csdn.net/u012741077/article/details/ ...
- duilib进阶教程 -- 在duilib中使用MFC (2)
好人做到底,送佛送到西.虽然上一篇教程已经说得很详细了,但Alberl还是再举一个例子.上一篇教程的主窗口是MFC的,所以这篇教程把主窗口换成duilib的~O(∩_∩)O~ 1.我们利用<20 ...
- [Android Studio] Using NDK to call OpenCV
NDK才是Android开发通向超高薪之路.(这句话,似乎四年前有云) 难点在于常用的non-free module (sift and surf) unsw@unsw-UX303UB$ pwd /h ...
- 微信小游戏 RES版本控制+缓存策略 (resplugin和ResSplitPlugin插件使用)
参考: RES版本控制 使用 AssetsManager 灵活定制微信小游戏的缓存策略 一.我们的目标 目标就是让玩家快速进入游戏,然后根据游戏的进度加载相应的资源,并可对资源进行版本控制.本地缓存. ...