当前位置:网站首页> 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设置密码复杂度内容请搜索软件开发网以前的文章或继续浏览下面的相关文章希望大家以后多多支持软件开发网!
边栏推荐
- Use of axurer9 option group
- How many stages did the development and evolution of data analysis go through?
- #yyds干货盘点# 解决剑指offer: 连续子数组的最大和(二)
- Deploy grafana to realize graphical monitoring
- Use of dynamic panels
- TCP三次握手四次挥手
- 论文解读(DCN)《Towards K-means-friendly Spaces: Simultaneous Deep Learning and Clustering》
- code review
- torch.nn.Transformer导入失败
- Ansible production environment usage scenario (7): batch deployment of elk clients
猜你喜欢

Zadig + SonarQube,为开发过程安全保驾

GO语言-反射reflect

Use of dynamic panels

Use of axurer9 option group

ansible生产环境使用场景(七):批量部署elk客户端

Zadig officially launched vs code plug-in, making local development more efficient

F1tenth gym of ROS 2 humble hawksbill

Move the mouse out of the selected area style cancel

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

The technology giants set up the meta universe standard forum to open up or build a besieged city?
随机推荐
6月底了,让我康康有多少准备跳槽的
面试官:Redis中字符串的内部实现方式是什么?
【HackTheBox】 meow
职业问诊 | 在数据分析面试中,这样做自我介绍才靠谱
Hardware development notes (VII): basic process of hardware development, making a USB to RS232 module (VI): creating 0603 package and associating principle graphic devices
初识阿里云(云计算)—发展历程和技术架构、地域和可用区!
flutter通过 GlobalKey 获取界面任意元素坐标尺寸
How to make beautiful pictures
Redis+AOP+自定义注解实现限流
场景化接口开发利器,金蝶云苍穹新版OpenAPI引擎来了!
C#/VB. Net to convert PDF to excel
windows mysql5.7 开启binlog日志
杆会睡不着觉
wrk压力测试工具介绍
如何制作精美的图片
VR全景创业为了把控风险,如何选择加盟公司?
Gross vs60 billion. Is food safety the biggest obstacle to Weilong's listing?
Competition rules for the "network security" event of the secondary vocational group in the skills competition of Guangxi Vocational Colleges in 2022
现在还能入“坑”数据分析吗?看看2022年数据分析热门岗位!
Database basic notes