In the Oracle11g database, dba_users has the password_versions column while oracle11gdba_users

Source: Internet
Author: User

In the Oracle11g database, dba_users has the password_versions column while oracle11gdba_users

 

Reference:
11g R1 New Feature: Case Sensitive Passwords and Strong User Authentication (Document ID 429465.1)

 

The view DBA_USERS has new column PASSWORD_VERSIONS rendered as follows:

Decode (length (u. password), 16, '10g', NULL) | NVL2 (u. spare4, '11g', NULL)
For example:

SQL> select USERNAME, PASSWORD_VERSIONS from dba_users;

USERNAME PASSWORD
--------------------------------------
...
SCOTT 10G 11G

In this case it means both old and new-style hash values ar available for user SCOTT, the new hash value is stored in the USER $. SPARE4 column, as long as this remains NULL it means the password has not been changed since the migration and the user will have the old case insensitive password. if you want to enforce case sensitivity for users changing their passwords using a profile with a password_verify_function, check Note 1307555.1 for how to do this.

In reference, the PASSWORD_VERSIONS column is described as follows:
Database version in which the password was created or changed

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.