【翻译自mos文章】对dba_users视图中,account_status列的解释
对dba_users视图中,account_status列的解释 参考原文: How to Interpret the ACCOUNT_STATUS Column in DBA_USERS (Doc ID 260111.1) 适用于: Oracle Server - Enterprise Edition - Version 9.2.0.1 to 11.2.0.3 [Release 9.2 to 11.2] Information in t
对dba_users视图中,account_status列的解释
参考原文:
How to Interpret the ACCOUNT_STATUS Column in DBA_USERS (Doc ID 260111.1)
适用于:
Oracle Server - Enterprise Edition - Version 9.2.0.1 to 11.2.0.3 [Release 9.2 to 11.2]
Information in this document applies to any platform.
Checked for relevance on 06-Jan-2013
目的:
本文解释了dba_users视图中,account_status列的意义。
细节:
DBA_USERS视图中的 ACCOUNT_STATUS 列 有如下的值:
select * from user_astatus_map; -->请注意这个视图。这个视图比较有价值。
STATUS# STATUS
---------- --------------------------------
0 OPEN
1 EXPIRED
2 EXPIRED(GRACE)
4 LOCKED(TIMED)
8 LOCKED
5 EXPIRED & LOCKED(TIMED)
6 EXPIRED(GRACE) & LOCKED(TIMED)
9 EXPIRED & LOCKED
10 EXPIRED(GRACE) & LOCKED
如上的这些值是与两个特性 'Account Locking' and 'Password Aging and Expiration' 直接相关,解释如下:
1. Account Locking - LOCKED / LOCKED(TIMED)
An account 可以被dba锁定,也可以在超过失败尝试次数之后被自动锁定。
当 PASSWORD_LOCK_TIME 被定义时,过了此时间之后,account 会被自动取消锁定:此种情况被标记为 LOCKED(TIMED).
LOCKED(TIMED) 只要出现了,就能说明:该account的锁定原因是 错误的登陆次数> FAILED_LOGIN_ATTEMPTS
如果该account在create or alter的时候被明确锁定,你只会看到LOCKED
你可能希望 在PASSWORD_LOCK_TIME 被设置为unlimited,并且account 被自动锁定时,account 的状态显示为LOCKED。
但是你希望的这个状态显示是不对的:该 account 的状态依然会显示 LOCKED(TIMED)
只不过该account永远不会自动unlock,原因是 the unlimited PASSWORD_LOCK_TIME ---也就是说 lock time 是无期限的(即:永久锁定)
To add to the confusion, at some point it was decided that even if the account is locked automatically,
we should not set it to LOCKED(TIMED) if the PASSWORD_LOCK_TIME is unlimited, since in that case the account would never automatically unlock,
this would give up on a crucial piece of information, namely if the account was locked manually or automatically, this change was introduced in 11.2.0.1.
However this change caused a regression in Bug 9693615 causing the lock_date to be NULL in dba_users in case the account was locked automatically, the fix to this bug backed out the change again and now we have the LOCKED(TIMED) for automatically locked accounts back with this fix.
因此,我们知道当 ACCOUNT_STATUS 的值是 LOCKED(TIMED) 时, lock是 失败登陆尝试的结果,即使lock will not expire
在11.2.0.1 (without the fix to Bug 9693615) 中,你可以验证 如果account被自动锁定,看dba_users视图中lock_date列是null的。
2. Password Expiration - EXPIRED / EXPIRED(GRACE)
无论有没有 grace period,一个password 都可以被设置为expire。当一个password expired 并且没有grace被定义时,该password被设置为EXPIRED,EXPIRED的含义是该user 在下一次登录时会被提示输入新的密码。
当grace被定义时,在grace period期间内,一个警告(warning)被发出,并且ACCOUNT_STATUS 会被置为EXPIRED(GRACE).
结论:
Password Expiration and Account Locking 是两个独立的特性:
一个account 不会由于 超过expire 或者 grace time 被 lock住。
一个既没有expired,也没有被lock的 account 显示是open(status#为0),因为account locking (基于错误的登陆次数)和 expiration (基于没有修改密码)从根本上说是没有关系的。
In addition to the EXPIRED (1,2) and LOCKED (4,8) bits being set, you can
have combinations of both with STATUS# 5,6,9 and 10: internally the
STATUS# are added for the combinations of expired and locked.
For example :
'EXPIRED' + 'LOCKED' = 1 + 8 = 9 = 'EXPIRED & LOCKED'

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

1. How can you make money by publishing articles on Toutiao today? How to earn more income by publishing articles on Toutiao today! 1. Activate basic rights and interests: original articles can earn profits by advertising, and videos must be original in horizontal screen mode to earn profits. 2. Activate the rights of 100 fans: if the number of fans reaches 100 fans or above, you can get profits from micro headlines, original Q&A creation and Q&A. 3. Insist on original works: Original works include articles, micro headlines, questions, etc., and are required to be more than 300 words. Please note that if illegally plagiarized works are published as original works, credit points will be deducted, and even any profits will be deducted. 4. Verticality: When writing articles in professional fields, you cannot write articles across fields at will. You will not get appropriate recommendations, you will not be able to achieve the professionalism and refinement of your work, and it will be difficult to attract fans and readers. 5. Activity: high activity,

Users is a folder in the computer that contains data, program content, documents, music and other content generated during the user's use. When we open the resource manager in our computer, we can find the users folder, which is also called the users folder in some computers.

Database security risks caused by insufficient OracleDBA permissions With the rapid development of the Internet, databases, as an important information storage and management tool for enterprises, carry a large amount of sensitive data. In this process, the database administrator (DBA) plays a vital role and is responsible for ensuring the normal operation of the database and the security of the data. However, due to work requirements or management policies, the DBA's authority is sometimes restricted, which may cause database security risks. This article will introduce the possible consequences of insufficient DBA authority in Oracle database

How to change the user folder name in win11? In fact, the method is very simple. Users can directly open the Group Policy Editor, then enter the security settings under Windows Settings to perform the operation, and the operation can be completed quickly. Let this site carefully introduce to users how to change the name of win11 user folder. How to modify the name of win11 user folder 1. Press the "Win+R" key combination on the keyboard. 2. Enter "gpedit.msc" and press Enter to open the Group Policy Editor. 3. Expand "Security Settings" under "Windows Settings". 4. Open&l

users is the user folder, which mainly stores the user's configuration files; the User folder contains data generated during the user's use, program content, documents, music and other content. The users folder is an important folder in the Windows system and cannot be deleted at will; it saves a lot of user information. Once deleted, data will be lost, and in severe cases, the system will not start.

How to understand @VitalikButerin’s new article’s thoughts on Ethereum’s expansion? Some people say that Vitalik’s order for Blob Inscription is outrageous. So how do blob packets work? Why is the blob space not being used efficiently after the upgrade in Cancun? DAS data availability sampling in preparation for sharding? In my opinion, the performance of Cancun is usable after the upgrade, and Vitalik is worried about the development of Rollup. Why? Next, let me talk about my understanding: As I have explained many times before, Blob is a temporary data package that is decoupled from EVM calldata and can be directly called by the consensus layer. The direct benefit is that EVM does not need to access the Blob when executing transactions. data, thus resulting in lower execution layer computations

Solution to the problem that the users folder cannot be found in the C drive: 1. Click "View" in the C drive and click the "Show" option; 2. Check the "Hidden Items" option in the displayed extension page; 3. Find the user folder in the C drive, that is, the users folder.

In this article, we will learn how to add articles in HTML5. One of the new segmentation elements in HTML5 is the tag. Articles are represented in HTML using tags. More specifically, the content contained within the element is different from the rest of the site's content (even though they may be related). Let us consider the following example to understand how to add an article in HTML5 Example 1 In the following example, we are using inline styles in the article element. <!DOCTYPEhtml><html><body><articlestyle="width:300px;border:2pxsolidgray;padding:
