当前位置:网站首页>oracle怎么设置密码复杂度及超时退出的功能
oracle怎么设置密码复杂度及超时退出的功能
2022-06-30 02:38:00 【亿速云】
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.sql
oracle用户锁定后解锁
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怎么设置密码复杂度及超时退出的功能”这篇文章的所有内容,感谢各位的阅读!相信大家阅读完这篇文章都有很大的收获,小编每天都会为大家更新不同的知识,如果还想学习更多的知识,请关注亿速云行业资讯频道。
边栏推荐
- Global and Chinese market of subscription revenue management software 2022-2028: Research Report on technology, participants, trends, market size and share
- 并发请求下如何防重复提交
- Network neuroscience -- a review of network Neuroscience
- 如何使用SMS向客户传递服务信息?指南在这里!
- 多卡服务器使用
- 论文回顾:Playful Palette: An Interactive Parametric Color Mixer for Artists
- Precautions for purchasing wildcard SSL certificate
- 1380. lucky numbers in matrices
- Global and Chinese market of ERP software for garment and textile industries 2022-2028: Research Report on technology, participants, trends, market size and share
- Raki's notes on reading paper: neighborhood matching network for entity alignment
猜你喜欢

FDA ESG规定:必须使用数字证书保证通信安全

Several key points recorded after reviewing redis design and Implementation

选择排序

Two methods of SSL certificate format conversion

Some configuration details about servlet initial development

Seven common errors of SSL certificate and their solutions

打造創客教育中精湛技藝

Precautions for purchasing wildcard SSL certificate

SiteLock九个常见问题

公司电脑强制休眠的3种解决方案
随机推荐
学术汇报(academic presentation)/PPT应该怎么做?
2.8 【 weight of complete binary tree 】
快速排序
三层交换机和二层交换机区别是什么
unity的text首列有标点符号咋办
Le Code autojs peut - il être chiffré? Oui, présentation des techniques de chiffrement autojs
How difficult is the PMP Exam under the new syllabus? Comprehensive analysis
What about punctuation in the first column of unity text
SSL证书格式转化的两种方法
Two methods of SSL certificate format conversion
Precautions for purchasing wildcard SSL certificate
Raii memory management
打造創客教育中精湛技藝
Call collections Sort() method, compare two person objects (by age ratio first, and by name ratio for the same age), and pass lambda expression as a parameter.
打造创客教育中精湛技艺
Summary of knowledge points about eigenvalues and eigenvectors of matrices in Chapter 5 of Linear Algebra (Jeff's self perception)
What are the requirements for NPDP product manager international certification examination?
2022 the action of protecting the net is imminent. Things about protecting the net
Creating exquisite skills in maker Education
FDA邮件安全解决方案