ITPub博客

首页 > Linux操作系统 > Linux操作系统 > ORACLE 密码验证函数

ORACLE 密码验证函数

原创 Linux操作系统 作者:Xinspirit 时间:2012-10-25 14:31:26 1 删除 编辑
  开发人员发来报错:
  SQL> alter user cinter identified by  cinter;
 
  alter user cinter identified by  cinter
 
  ORA-28003: 指定口令的口令验证失败
  ORA-20001: Password same as or similar to user

  说密码不能和用户名相同。但是给了密码后报:
 
  alter user cinter identified by  cinter123
 
  ORA-28003: 指定口令的口令验证失败
  ORA-20003: Password should contain at least one \
              digit, one character and one punctuation
  检查是知道ORACLE启用了密码验证函数。
  实验结果如下:
  SQL> @utlpwdmg.sql

  函数已创建。


 配置文件已更改


 函数已创建。

 SQL> alter user sunxin identified by sunxin;
 alter user sunxin identified by sunxin
*
第 1 行出现错误:
ORA-28003: 指定口令的口令验证失败
ORA-20001: Password length less than 8


SQL> alter user sunxin identified by sunxin123;

用户已更改。

SQL> alter profile default limit password_verify_function verify_function;

配置文件已更改

SQL> alter user sunxin identified by sunxin;
alter user sunxin identified by sunxin
*
第 1 行出现错误:
ORA-28003: 指定口令的口令验证失败
ORA-20001: Password same as or similar to user


SQL> alter user sunxin identified by sunxin123;
alter user sunxin identified by sunxin123
*
第 1 行出现错误:
ORA-28003: 指定口令的口令验证失败
ORA-20003: Password should contain at least one \
digit, one character and one punctuation


SQL> alter user sunxin identified by sunxin123 replace sunxin;
alter user sunxin identified by sunxin123 replace sunxin
*
第 1 行出现错误:
ORA-28003: 指定口令的口令验证失败
ORA-20003: Password should contain at least one \
digit, one character and one punctuation


SQL> alter user sunxin identified by sunxin replace sunxin123;
alter user sunxin identified by sunxin replace sunxin123
*
第 1 行出现错误:
ORA-28003: 指定口令的口令验证失败
ORA-20001: Password same as or similar to user


SQL> alter user sunxin identified by sunxin replace sunxin123;
alter user sunxin identified by sunxin replace sunxin123
*
第 1 行出现错误:
ORA-28003: 指定口令的口令验证失败
ORA-20001: Password same as or similar to user


SQL> conn sunxin/sunxin123
已连接。
SQL> password
更改 SUNXIN 的口令
旧口令:
新口令:
重新键入新口令:
ERROR:
ORA-28003: 指定口令的口令验证失败
ORA-20001: Password same as or similar to user


口令未更改

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/21416913/viewspace-747197/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: redo log 4种状态
请登录后发表评论 登录
全部评论

注册时间:2009-04-18

  • 博文量
    39
  • 访问量
    83088