当前位置:网站首页> oracle设置密码复杂度及设置超时退出的功能
oracle设置密码复杂度及设置超时退出的功能
2022-06-28 22:08:00 【1024问】
查看oracle是否启用密码复杂度;
关闭密码复杂性校验
查看密码有效期:
oracle密码设置为180天
oracle设置密码复杂度
设置oracle超时退出的功能;
查看是否开启oracle的审计功能;
总结
查看oracle是否启用密码复杂度;select limit from dba_profiles where RESOURCE_NAME='PASSWORD_VERIFY_FUNCTION' and profile='DEFAULT';Limit 列的值为null 表示未启用密码验证函发功能; 如果返回值为:VERIFY_FUNCTION_11G 则表示启用验证函数功能
关闭密码复杂性校验SQL> alter profile default limit PASSWORD_VERIFY_FUNCTION null;Profile altered.查看密码有效期:SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';oracle密码设置为180天ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME 180;oracle设置密码复杂度[[email protected]主机名 ~]# su - oracle[[email protected]主机名 ~]# echo $ORACLE_HOME查看Oracle11g数据库提供的默认密码复杂度函数脚本(Oracle安装目录下的/rdbms/admin/utlpwdmg.sql文件)
[[email protected]主机名 admin]$ sqlplus /nologSQL> connect /as sysdbaConnected.SQL> @?/rdbms/admin/utlpwdmg.sqloracle用户锁定后解锁
SQL> conn /as sysdbaSQL> alter user test account unlock;设置oracle超时退出的功能;SQL> SELECT name, value FROM gv$parameter WHERE name = 'resource_limit';NAME VALUE--------------- ----------resource_limit FALSE如果没有,则开启这个参数:SQL> ALTER SYSTEM SET RESOURCE_LIMIT=TRUE;System altered.SQL> SELECT name, value FROM gv$parameter WHERE name = 'resource_limit';NAME VALUE--------------- ----------resource_limit TRUE修改已存在的Profile中的IDLE_TIME:SQL> ALTER PROFILE DEFAULT LIMIT IDLE_TIME 10;=========================================================
查看是否开启oracle的审计功能;show parameter audit;
在oracle11g中,数据库的审计功能是默认开启的(这和oracle10g的不一样,10g默认是关闭的)
audit_trail 的value值为NONE表示不开启;
audit_trail 的value值为FALSE表示不开启;
audit_trail 的value值为DB表示开启;
audit_trail 的value值为TURE表示开启;
audit_trail 的value值为OS表示审计记录写入一个操作系统文件;
总结到此这篇关于oracle设置密码复杂度及设置超时退出功能的文章就介绍到这了,更多相关oracle设置密码复杂度内容请搜索软件开发网以前的文章或继续浏览下面的相关文章希望大家以后多多支持软件开发网!
边栏推荐
- 在产业互联网时代,传统意义上的互联网将会演变出来诸多新的形态
- #yyds干货盘点# 解决剑指offer: 连续子数组的最大和(二)
- 【HackTheBox】 meow
- Zadig officially launched vs code plug-in, making local development more efficient
- Detailed explanation of Zadig's self-test and joint debugging sub environment for developers
- There is no picture problem when using tcpdf to generate pdf
- 这个简单的小功能,半年为我们产研团队省下213个小时
- Zadig + 洞态 IAST:让安全溶于持续交付
- Common tool classes and Commons class libraries
- F1tenth gym of ROS 2 humble hawksbill
猜你喜欢

小样本利器2.文本对抗+半监督 FGSM & VAT & FGM代码实现

穿越过后,她说多元宇宙真的存在

VR全景制作的前景如何?

ROS 2 Humble Hawksbill 之 f1tenth gym

论文解读(DCN)《Towards K-means-friendly Spaces: Simultaneous Deep Learning and Clustering》

00 後雲原生工程師:用 Zadig 為思創科技(廣州公交)研發開源節流

Ansible production environment usage scenario (7): batch deployment of elk clients

2022-06-28:以下golang代码输出什么?A:true;B:false;C:panic;D:编译失败。 package main import “fmt“ func main() {

Icon fill color and background color change together

面试官:Redis中字符串的内部实现方式是什么?
随机推荐
代码复查
How to make beautiful pictures
华为云GaussDB(for Redis)揭秘第19期:六大秒级能力盘点
LxC shared USB device
职业问诊 | 面试中被问到意向薪资时,该怎么回答?
Zadig 构建究竟何强大?一起来实践
【网关开发】ngx嵌套lua时处理CIDR表示的IP地址段
Set when quartz scheduled task trigger starts
Icon fill color and background color change together
PyTorch搭建Transformer实现多变量多步长时间序列预测(负荷预测)
There is no picture problem when using tcpdf to generate pdf
Research Report on workers: middle-aged people account for the highest proportion of naked words
Use of axurer9 option group
Laravel文档阅读笔记-Adding a Markdown editor to Laravel
稳!上千微服务如何快速接入 Zadig(Helm Chart 篇)
Wechat applet realizes left sliding deletion
How to use the apipost script - global variables
Rule engine development experience sharing - reddit
给朋友的忠告
Appium automated test Jiugongge unlock