当前位置:网站首页> 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设置密码复杂度内容请搜索软件开发网以前的文章或继续浏览下面的相关文章希望大家以后多多支持软件开发网!
边栏推荐
- Get to know Alibaba cloud (Cloud Computing) - development history, technical architecture, region and availability zone!
- Heavyweight! CDA certification test preparation Q & A Online
- The technology giants set up the meta universe standard forum to open up or build a besieged city?
- 华为云GaussDB(for Redis)揭秘第19期:六大秒级能力盘点
- 00 後雲原生工程師:用 Zadig 為思創科技(廣州公交)研發開源節流
- IPv6 comprehensive experiment
- Competition rules for the "network security" event of the secondary vocational group in the skills competition of Guangxi Vocational Colleges in 2022
- 【Try to Hack】nmap
- In one sentence, I will tell you the meaning of select 1, 2 and 3 in SQL injection, and explain the meaning of each part of SQL injection in detail
- 嵌入式中 动态阿拉伯语字符串 转换 LCD显示字符串【感谢建国雄心】
猜你喜欢

10、标准I/O输入输出重定向及管道

如何制作精美的图片

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

IC Nansha|AMD高级副总裁、大中华区总裁潘晓明:制程、架构、平台优化突破计算边界

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

QtCreator5.15.0源码编译全过程记录

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

Get to know Alibaba cloud (Cloud Computing) - development history, technical architecture, region and availability zone!

PE file-

Considerations on the construction of operation and maintenance system - stability
随机推荐
C#/VB.NET 将PDF转为Excel
Career consultation | how to answer the question of career planning during the interview?
Dart的类扩展、可选类型扩展
MSCI 2022年市场分类评估
Webrtc audio and video development - experience
JS array common methods
[webapi] return dynamic list dynamic
flutter通过 GlobalKey 获取界面任意元素坐标尺寸
The new version of OpenAPI engine of Kingdee cloud dome is coming!
VR全景制作的前景如何?
杆会睡不着觉
【HackTheBox】dancing(SMB)
Rosdep update using fishros to solve ros1/ros2 problems 2022
[linq]c list type grouping sum
【SSH】无密码登录
在亿学学堂开通证券账户是安全可靠的吗?
论文解读(DCN)《Towards K-means-friendly Spaces: Simultaneous Deep Learning and Clustering》
面试官:Redis中字符串的内部实现方式是什么?
6年心得,从功能测试到测试开发,送给在测试路上一路走到黑的你
F1tenth gym of ROS 2 humble hawksbill