当前位置:网站首页> 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设置密码复杂度内容请搜索软件开发网以前的文章或继续浏览下面的相关文章希望大家以后多多支持软件开发网!
边栏推荐
- 华为云GaussDB(for Redis)揭秘第19期:六大秒级能力盘点
- TCP three handshakes and four waves
- PyTorch搭建Transformer实现多变量多步长时间序列预测(负荷预测)
- Career consultation | in the data analysis interview, it is only reliable to introduce yourself in this way
- 【HackTheBox】dancing(SMB)
- 计数排序的简单理解
- [linq] execute SQL like in statements using EF to LINQ
- The new version of OpenAPI engine of Kingdee cloud dome is coming!
- apipost脚本使用讲解一~全局变量
- Analysis of CSRF Cross Site Request Forgery vulnerability
猜你喜欢

Axure custom components

Laravel文档阅读笔记-Adding a Markdown editor to Laravel

IPv6 comprehensive experiment

Gross vs60 billion. Is food safety the biggest obstacle to Weilong's listing?

PE file-

Use of axurer9 master

Move the mouse out of the selected area style cancel

稳!上千微服务如何快速接入 Zadig(Helm Chart 篇)

Considerations on the construction of operation and maintenance system - stability

什么是低代码开发?
随机推荐
Hashicorp/raft introduction and source code analysis (III): introduction to cluster node recovery
犹豫的根音
SQLSERVER sys. Escape of parameter placeholders in messages
Ansible production environment usage scenario (7): batch deployment of elk clients
Oracle删除归档日志及添加定时任务
加刚干的前提
How to use the style label of jade template- How to use the style tag with jade templates?
PyTorch搭建Transformer实现多变量多步长时间序列预测(负荷预测)
这个简单的小功能,半年为我们产研团队省下213个小时
Introduction to wrk pressure test tool
PAT 1021. Traversal of the deep root (25 points) graph, DFS, calculating the number of connected components
go语言插件平台的实现思路
Rust language survey results in 2021
00 後雲原生工程師:用 Zadig 為思創科技(廣州公交)研發開源節流
常用工具类与commons 类库
面试官:Redis中字符串的内部实现方式是什么?
[width first search note] BFS output shortest path
TCP三次握手四次挥手
阿海的忠告
论文解读(DCN)《Towards K-means-friendly Spaces: Simultaneous Deep Learning and Clustering》