久久精品人人爽,华人av在线,亚洲性视频网站,欧美专区一二三

Oracle自動鎖住不經常使用的用戶指的是什么

171次閱讀
沒有評論

共計 1942 個字符,預計需要花費 5 分鐘才能閱讀完成。

這篇文章主要介紹“Oracle 自動鎖住不經常使用的用戶指的是什么”的相關知識,丸趣 TV 小編通過實際案例向大家展示操作過程,操作方法簡單快捷,實用性強,希望這篇“Oracle 自動鎖住不經常使用的用戶指的是什么”文章能幫助大家解決問題。

說明

Starting with this release, you can configure user accounts to automatically lock if they have been inactive over a period of time.

The CREATE USER and ALTER USER SQL statements enable you to set a new profile parameter, INACTIVE_ACCOUNT_TIME, which enables you to automatically lock inactive accounts.

從 12.2 開始,Oracle 會自動將不活躍 (超過一定時間沒有操作) 的用戶鎖住。該時間是通過參數 INACTIVE_ACCOUNT_TIME 來設置的。

該參數單位:天。表示從該用戶上次成功登陸開始計算,如果超過參數設定的天數,那么 Oracle 會自動鎖住該用戶。
該參數默認是 UNLIMITED,需要手動開啟。

SQL  select profile,resource_name,limit from dba_profiles t where t.resource_name= INACTIVE_ACCOUNT_TIME 
PROFILE RESOURCE_NAME LIMIT
------------------------------ ------------------------------ --------------------
DEFAULT INACTIVE_ACCOUNT_TIME UNLIMITED
ORA_STIG_PROFILE INACTIVE_ACCOUNT_TIME 35
TEST_PROFILE INACTIVE_ACCOUNT_TIME 35

關于該參數的更多說明:

INACTIVE_ACCOUNT_TIME 默認值是 UNLIMITED,也就是不啟用自動鎖用戶.

參數值是 15 到 24855 之間.

如果不想自動鎖用戶,則需要把 INACTIVE_ACCOUNT_TIME 參數值設置為 UNLIMITED.

想將該參數時間設置為默認 PROFILE 中指定的參數值,可設置 INACTIVE_ACCOUNT_TIME 參數值為 DEFAULT.

You can set this parameter for all database authenticated users, including administrative users, but not for external or global authenticated users.

In a read-only database, the last successful login is not considered in the INACTIVE_ACCOUNT_TIME timing. It is not possible to lock a user account in a read-only database (except by performing consecutive failed logins equal in number to the account’s FAILED_LOGIN_ATTEMPTS password profile setting).

For a newly created user account, the timing begins at account creation time. When this user logs out and then logs again, the timing starts when the user successfully logs in.

In a multitenant environment, the INACTIVE_ACCOUNT_TIME setting applies to the last time a common user logs in to the root. A common user is considered active if this user logs in to any of the PDBs or the root.

For a proxy user account login, the INACTIVE_ACCOUNT_TIME begins the timing when the proxy user logs in successfully.

關于“Oracle 自動鎖住不經常使用的用戶指的是什么”的內容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業相關的知識,可以關注丸趣 TV 行業資訊頻道,丸趣 TV 小編每天都會為大家更新不同的知識點。

正文完
 
丸趣
版權聲明:本站原創文章,由 丸趣 2023-07-13發表,共計1942字。
轉載說明:除特殊說明外本站除技術相關以外文章皆由網絡搜集發布,轉載請注明出處。
評論(沒有評論)
主站蜘蛛池模板: 高陵县| 石台县| 沽源县| 泗阳县| 九江县| 琼海市| 安福县| 龙泉市| 高陵县| 宁陵县| 土默特左旗| 彭阳县| 德清县| 扎囊县| 柳林县| 名山县| 利川市| 卓资县| 会同县| 邵阳市| 巴南区| 尉氏县| 淮北市| 聊城市| 德化县| 宜阳县| 昆明市| 开平市| 三门峡市| 泊头市| 西平县| 纳雍县| 正安县| 牡丹江市| 青州市| 四川省| 衡南县| 黄石市| 满洲里市| 汾阳市| 社旗县|