Welcome 微信登录
编程资源 图片资源库 蚂蚁家优选

首页 / 数据库 / MySQL / Oracle 11g 缺省密码期限问题 - ORA-28002

故障现象Oracle Database 11g 数据库普通用户登录时提示 ORA-28002: the password will expire within 7 days[11:01:00oracle@dvd db_1]$sqlplus wang/oracleSQL*Plus: Release 11.2.0.1.0 Production on Fri Nov 16 11:01:23 2012Copyright (c) 1982, 2009, Oracle.  All rights reserved.ERROR:ORA-28002: the password will expire within 7 daysConnected to:Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - ProductionWith the OLAP and Data Mining optionswang@SUN>故障原因Oracle 11G 普通用户有个180天的缺省密码周期,当快过期的时候即会出现此提示;解决办法查看当前用户对应profile、对应密码周期select * from dba_profiles where profile="DEFAULT" AND resource_name="PASSWORD_LIFE_TIME";alter profile default limit password_life_time unlimited;SELECT username,PROFILE FROM dba_users where username like upper("&USER");sys@SUN> SELECT username,PROFILE FROM dba_users where username like upper("&USER");Enter value for user: wangold 1: SELECT username,PROFILE FROM dba_users where username like upper("&USER")new 1: SELECT username,PROFILE FROM dba_users where username like upper("wang")USERNAME                     PROFILE------------------------------ ------------------------------WANG                         DEFAULT--查询到该用户对应的Profile文件为 DEFAULTsys@SUN> set lines 222sys@SUN> col PROFILE for a20sys@SUN> col RESOURCE_NAME for a20sys@SUN> col RESOURCE_TYPE for a20sys@SUN> col LIMIT for a20sys@SUN> select * from dba_profiles where profile="DEFAULT" AND resource_name="PASSWORD_LIFE_TIME";PROFILE              RESOURCE_NAME        RESOURCE_TYPE        LIMIT-------------------- -------------------- -------------------- --------------------DEFAULT              PASSWORD_LIFE_TIME PASSWORD           180--查询到该profile对应的密码生命周期配置为180天修改当前用户对应profile对应对应密码周期sys@SUN> alter profile default limit password_life_time 365;Profile altered.--修改该profile对应的密码生命周期配置为365天sys@SUN> alter profile default limit password_life_time unlimited;Profile altered.--修改该profile对应的密码生命周期配置为 无限制EXP-00008: 遇到 Oracle 错误 904Oracle 用户密码含特殊字符时的登陆问题相关资讯      Oracle 11g教程  ORA-28002  Oracle 11g 密码 
  • Oracle 11g数据库密码过期ORA-  (07/18/2015 09:46:03)
  • ORA-28002/ORA-28000 解决11g 密码  (01/07/2014 21:35:49)
  • Oracle 提示修改密码 ORA-28002和  (11/25/2013 10:55:37)
  • ORA-28002 密码过期警告  (03/29/2014 14:34:51)
  • ORA-28002密码将在7天后过期  (12/26/2013 21:34:03)
  • 启用密码管理之前创建的用户连接  (08/02/2013 11:49:33)
本文评论 查看全部评论 (0)
表情: 姓名: 字数