首页 > 数据库技术 > 详细

Oracle11g数据库中dba_users多了password_versions这一列

时间:2015-08-31 08:45:50      阅读:400      评论:0      收藏:0      [点我收藏+]

 

参考自:
11g R1 New Feature : Case Sensitive Passwords and Strong User Authentication (文档 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.

在reference中,PASSWORD_VERSIONS 列的解释如下:
Database version in which the password was created or changed

版权声明:本文为博主原创文章,未经博主允许不得转载。

Oracle11g数据库中dba_users多了password_versions这一列

原文:http://blog.csdn.net/msdnchina/article/details/48128909

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!