最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

Oracle數(shù)據(jù)庫(kù)復(fù)雜度設(shè)置圖文教程

 更新時(shí)間:2024年04月28日 09:39:41   作者:IC棒棒  
這篇文章主要給大家介紹了關(guān)于Oracle數(shù)據(jù)庫(kù)復(fù)雜度設(shè)置的相關(guān)資料,Oracle可以通過設(shè)置密碼復(fù)雜度來提高數(shù)據(jù)庫(kù)的安全性,文中通過代碼介紹的非常詳細(xì),需要的朋友可以參考下

概述:

Oracle的復(fù)雜度通過參數(shù)PASSWORD_VERIFY_FUNCTION設(shè)置,通常該參數(shù)使用數(shù)據(jù)庫(kù)自帶的腳本utlpwdmg.sql配置,不同版本的數(shù)據(jù)庫(kù)腳本自帶的復(fù)雜度也不盡相同,當(dāng)然也可以自己配置腳本文件。

以下測(cè)試使用的是Oracle Database 12c Enterprise Edition Release 12.2.0.1.0

一、查看復(fù)雜度

select * from dba_profiles where resource_name='PASSWORD_VERIFY_FUNCTION';

 這時(shí)看到能配置復(fù)雜度的有兩個(gè)函數(shù):默認(rèn)的DEFAULT、系統(tǒng)版本自帶的ORA_STIG_PROFILE。

查看用戶使用的復(fù)雜度函數(shù):

select username,profile,account_status from dba_users;

在此,我的測(cè)評(píng)數(shù)據(jù)庫(kù)都是使用DEAULT。

根據(jù)圖1的結(jié)果,DEFAULT沒有復(fù)雜度設(shè)置(NULL)。

二、驗(yàn)證復(fù)雜度

測(cè)試復(fù)雜度,在此使用賬戶LHX,修改密碼。

修改成功。驗(yàn)證可知,測(cè)試賬戶LHX未配置復(fù)雜度。

三、應(yīng)用utlpwdmg.sql,配置數(shù)據(jù)庫(kù)復(fù)雜度

服務(wù)器使用sysdba賬戶登錄數(shù)據(jù)庫(kù),輸入

@utlpwdmg.sql

四、查看復(fù)雜度

 五、驗(yàn)證復(fù)雜度

使用賬戶LHX,修改密碼。

備注:報(bào)錯(cuò)原因,經(jīng)查閱是特殊字符只能使用指定字符_,$和#。

 驗(yàn)證可知,該數(shù)據(jù)庫(kù)版本自帶的復(fù)雜度ORA12C_VERIFY_FUNCTION是至少8位字符,由字母、數(shù)字、特殊字符組成。

六、查看自帶的復(fù)雜度腳本

服務(wù)器切換Oracle賬戶,進(jìn)入$ORACLE_HOME/rdbms/admin文件夾下,可以看到utlpwdmg.sql

[root@localhost ~]# su - oracle
[oracle@localhost ~]$ cd $ORACLE_HOME/rdbms/admin
[oracle@localhost admin]$ 
[oracle@localhost admin]$ cat utlpwdmg.sql 
Rem
Rem $Header: rdbms/admin/utlpwdmg.sql /main/13 2016/01/04 21:20:04 sumkumar Exp $
Rem
Rem utlpwdmg.sql
Rem
Rem Copyright (c) 2006, 2015, Oracle and/or its affiliates. 
Rem All rights reserved.
Rem
Rem    NAME
Rem      utlpwdmg.sql - script for Default Password Resource Limits
Rem
Rem    DESCRIPTION
Rem      This is a script for enabling the password management features
Rem      by setting the default password resource limits.
Rem
Rem    NOTES
Rem      This file contains a function for minimum checking of password
Rem      complexity. This is more of a sample function that the customer
Rem      can use to develop the function for actual complexity checks that the 
Rem      customer wants to make on the new password.
Rem
Rem    MODIFIED   (MM/DD/YY)
Rem    sumkumar    12/15/15 - Bug 22369990: Make all PVFs as common objects
Rem                           so as to make them available inside PDBs
Rem    yanlili     09/18/15 - Fix bug 20603202: Handle quoted usernames if
Rem                           called directly
Rem    hmohanku    02/17/15 - bug 20460696: add long identifier support
Rem    sumkumar    12/26/14 - Proj 46885: set inactive account time to
Rem                           UNLIMITED for DEFAULT profile
Rem    jkati       10/16/13 - bug#17543726 : remove complexity_check,
Rem                           string_distance, ora12c_strong_verify_function
Rem                           since we now provide them by default with new db
Rem                           creation
Rem    skayoor     10/26/12 - Bug 14671375: Execute privilege on pwd verify
Rem                           func
Rem    jmadduku    07/30/12 - Bug 13536142: Re-organize the code
Rem    jmadduku    12/02/11 - Bug 12839255: Compliant Password Verify functions
Rem    jmadduku    01/21/11 - Proj 32507: Add a new password verify function
Rem                           STIG_verify_function and enhance functionality of
Rem                           code that checks distance between old and new
Rem                           password
Rem    asurpur     05/30/06 - fix - 5246666 beef up password complexity check 
Rem    nireland    08/31/00 - Improve check for username=password. #1390553
Rem    nireland    06/28/00 - Fix null old password test. #1341892
Rem    asurpur     04/17/97 - Fix for bug479763
Rem    asurpur     12/12/96 - Changing the name of password_verify_function
Rem    asurpur     05/30/96 - New script for default password management
Rem    asurpur     05/30/96 - Created
Rem


-- This script sets the default password resource parameters
-- This script needs to be run to enable the password features.
-- However the default resource parameters can be changed based 
-- on the need.
-- A default password complexity function is provided.

Rem *************************************************************************
Rem BEGIN Password Management Parameters
Rem *************************************************************************

-- This script alters the default parameters for Password Management
-- This means that all the users on the system have Password Management
-- enabled and set to the following values unless another profile is 
-- created with parameter values set to different value or UNLIMITED 
-- is created and assigned to the user.

ALTER PROFILE DEFAULT LIMIT
PASSWORD_LIFE_TIME 180
PASSWORD_GRACE_TIME 7
PASSWORD_REUSE_TIME UNLIMITED
PASSWORD_REUSE_MAX  UNLIMITED
FAILED_LOGIN_ATTEMPTS 10
PASSWORD_LOCK_TIME 1
INACTIVE_ACCOUNT_TIME UNLIMITED
PASSWORD_VERIFY_FUNCTION ora12c_verify_function;

/** 
The below set of password profile parameters would take into consideration
recommendations from Center for Internet Security[CIS Oracle 11g].

ALTER PROFILE DEFAULT LIMIT
PASSWORD_LIFE_TIME 90 
PASSWORD_GRACE_TIME 3
PASSWORD_REUSE_TIME 365
PASSWORD_REUSE_MAX  20
FAILED_LOGIN_ATTEMPTS 3
PASSWORD_LOCK_TIME 1
PASSWORD_VERIFY_FUNCTION ora12c_verify_function;
*/

/** 
The below set of password profile parameters would take into 
consideration recommendations from Department of Defense Database 
Security Technical Implementation Guide[STIG v8R1]. 

ALTER PROFILE DEFAULT LIMIT
PASSWORD_LIFE_TIME 60
PASSWORD_REUSE_TIME 365 
PASSWORD_REUSE_MAX  5
FAILED_LOGIN_ATTEMPTS 3
PASSWORD_VERIFY_FUNCTION ora12c_strong_verify_function;
*/

Rem *************************************************************************
Rem END Password Management Parameters
Rem *************************************************************************

本文參考:

ORACLE密碼復(fù)雜度校驗(yàn)?zāi)_本utlpwdmg.sql解析

 oracle數(shù)據(jù)庫(kù)設(shè)置密碼復(fù)雜度,Oracle EBS 數(shù)據(jù)庫(kù)密碼復(fù)雜度設(shè)置

到此這篇關(guān)于Oracle數(shù)據(jù)庫(kù)復(fù)雜度設(shè)置的文章就介紹到這了,更多相關(guān)Oracle復(fù)雜度設(shè)置內(nèi)容請(qǐng)搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!

相關(guān)文章

  • Oracle中刪除JOB(過期key/數(shù)據(jù))的三種場(chǎng)景及刪除方法

    Oracle中刪除JOB(過期key/數(shù)據(jù))的三種場(chǎng)景及刪除方法

    本文詳細(xì)介紹了在Oracle數(shù)據(jù)庫(kù)中刪除定時(shí)任務(wù)(JOB)和表中JOB字段數(shù)據(jù)的步驟,包括查詢、確認(rèn)、刪除和驗(yàn)證,強(qiáng)調(diào)了操作的安全性,確保在刪除重要數(shù)據(jù)前備份,并且所有刪除操作都必須經(jīng)過驗(yàn)證,需要的朋友可以參考下
    2026-02-02
  • oracle正則表達(dá)式regexp_like的用法詳解

    oracle正則表達(dá)式regexp_like的用法詳解

    本篇文章是對(duì)oracle正則表達(dá)式regexp_like的用法進(jìn)行了詳細(xì)的分析介紹,需要的朋友參考下
    2013-06-06
  • Oracle縮表空間的完整解決實(shí)例

    Oracle縮表空間的完整解決實(shí)例

    在Oracle中經(jīng)常有這樣的情況,由于誤操作,使某個(gè)表空間過大,下面這篇文章主要給大家介紹了關(guān)于Oracle縮表空間的相關(guān)資料,文中通過示例代碼介紹的非常詳細(xì),需要的朋友可以參考下
    2022-07-07
  • 生產(chǎn)環(huán)境Oracle undo表空間管理實(shí)踐

    生產(chǎn)環(huán)境Oracle undo表空間管理實(shí)踐

    這篇文章主要介紹了生產(chǎn)環(huán)境Oracle undo表空間管理實(shí)踐,Oracle 數(shù)據(jù)庫(kù)有一種維護(hù)信息的方法,用于回滾或撤消對(duì)數(shù)據(jù)庫(kù)的更改,下面文章分享更多的相關(guān)資料需要的小伙伴可以參考一下
    2022-03-03
  • Oracle客戶端 NLS_LANG 的設(shè)置方法

    Oracle客戶端 NLS_LANG 的設(shè)置方法

    Oracle客戶端 NLS_LANG 的設(shè)置方法,如果服務(wù)器端與客戶端不一樣會(huì)提示錯(cuò)誤,windows下通過注冊(cè)表下可以解決
    2012-06-06
  • Oracle建立表空間和用戶方式

    Oracle建立表空間和用戶方式

    文章主要介紹了如何在數(shù)據(jù)庫(kù)中建立表空間和用戶,并授予用戶使用表空間的權(quán)限,還提供了一個(gè)完整的示例,以及數(shù)據(jù)庫(kù)的導(dǎo)入和導(dǎo)出總結(jié)
    2025-02-02
  • Oracle讀取excel數(shù)據(jù)

    Oracle讀取excel數(shù)據(jù)

    本文給大家介紹Oracle讀取excel數(shù)據(jù)的相關(guān)知識(shí),本文介紹的非常詳細(xì),具有參考借鑒價(jià)值,感興趣的朋友一起學(xué)習(xí)吧
    2016-03-03
  • Oracle undo_management參數(shù)不一致錯(cuò)誤

    Oracle undo_management參數(shù)不一致錯(cuò)誤

    因RAC的undo_management參數(shù)不一致導(dǎo)致Oracle數(shù)據(jù)庫(kù)mount報(bào)ORA-01105 ORA-01606錯(cuò)誤,本文就這個(gè)問題
    2013-11-11
  • oracle 11g中exp無法導(dǎo)出空表問題的快速解決方法

    oracle 11g中exp無法導(dǎo)出空表問題的快速解決方法

    在一些生產(chǎn)系統(tǒng)中,有些時(shí)候我們?yōu)榱诉M(jìn)行oracle數(shù)據(jù)庫(kù)部分?jǐn)?shù)據(jù)的備份和遷移,會(huì)使用exp進(jìn)行數(shù)據(jù)的導(dǎo)出,但在實(shí)際導(dǎo)出的時(shí)候,我們發(fā)現(xiàn)導(dǎo)出的時(shí)候,發(fā)現(xiàn)很多空表未進(jìn)行導(dǎo)出,今天我們給出一個(gè)快速解決該問題的辦法,需要的朋友可以參考下
    2024-12-12
  • 向Oracle數(shù)據(jù)庫(kù)的CLOB屬性插入數(shù)據(jù)報(bào)字符串過長(zhǎng)錯(cuò)誤

    向Oracle數(shù)據(jù)庫(kù)的CLOB屬性插入數(shù)據(jù)報(bào)字符串過長(zhǎng)錯(cuò)誤

    在項(xiàng)目中向數(shù)據(jù)庫(kù)的CLOB屬性插入一段篇文章(1000~2000)字就會(huì)報(bào)一個(gè)字符串過長(zhǎng)的錯(cuò)誤,有類似情況的朋友可以參考下
    2014-08-08

最新評(píng)論

桐城市| 芜湖市| 肥东县| 永宁县| 灌云县| 天长市| 平阳县| 安义县| 自治县| 岫岩| 喀什市| 开远市| 日喀则市| 宁城县| 康乐县| 嵩明县| 菏泽市| 佛学| 浪卡子县| 津市市| 突泉县| 铜梁县| 黄山市| 岗巴县| 浦北县| 涞源县| 博爱县| 同江市| 南充市| 海门市| 互助| 兴国县| 黑水县| 双辽市| 合江县| 车致| 华安县| 金沙县| 鸡泽县| 仙居县| 江川县|