`
kalogen
  • 浏览: 891289 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

错误:ORA-28002: the password will expire within 7 days 解决方法

 
阅读更多

今天在使用sqlplus时出现

===============================================

ERROR:
ORA-28002: the password will expire within 7 days

===============================================

提示密码快过期了,由于需要连接的测试数据库,所以决定将密码设置成永不过期。

1.查看用户的profile设置:

一般用户的profile设置都为DEFAULT。

2.查看系统profiles中PASSWORD_LIFE_TIME设置。

PROFILE                        RESOURCE_NAME                    RESOURCE                      LIMIT

------------------------------ -------------------------------- ------------------------------------------------
DEFAULT                        PASSWORD_LIFE_TIME               PASSWORD                180dys

==============================================================

3.修改DBA_PROFILES中PASSWORD_LIFE_TIM的设置,改为ULIMITED。

修改后设置立即生效,不需要重启数据库,此时密码永远不会过期。

4.已经被报告了密码快要过期的账户必须再改一次密码(需要DBA权限)

再连接数据再也不会出现密码过期的事情了。

分享到:
评论

相关推荐

    ORA-28002 Oracle 11g存在密码过期问题解决方案

    故障现象 Oracle Database 11g 数据库普通用户登录时提示 ORA-28002: the password will expire within 7 days [11:01:00oracle@dvd db_1]$sqlplus wang/oracle SQL*Plus: Release 11.2.0.1.0 Production on Fri Nov...

    plsqldev12.0.5.1828x32主程序+ v12中文包+keygen

    ORA-28055 (the password will expire within <n> days) was not handled correctly SQL Window did not parse "with procedure ... select ..." correctly Large Data Editor could add cr/lf to a multi-line text...

    oracle sde 用户过期问题解决

    错误信息`ORA-28002: the password will expire within 7 days`明确地表明了用户的密码将在接下来的7天内到期。 该错误提示通常发生在设置了密码过期策略的情况下。Oracle数据库通过`DBA_PROFILES`视图来管理用户的...

    plsqldev12.0.5.1828x64主程序+ v12中文包+keygen

    ORA-28055 (the password will expire within <n> days) was not handled correctly SQL Window did not parse "with procedure ... select ..." correctly Large Data Editor could add cr/lf to a multi-line text...

    plsqldev12.0.3.1821x64主程序+ v12中文包+keygen

    Oracle Logon did not allow you to change the password in case of ORA-28055 (the password will expire within x days) Debugger options "Never/Always add debug information for user@database" did not ...

    oracle密码过期的处理

    一旦密码过期,用户尝试登录时会收到错误提示,例如`ORA-28002: the password will expire within 7 days`或`ORA-28003: the password has expired`等。 **解决方法**: 1. **临时登录**:使用具有SYSDBA权限的...

Global site tag (gtag.js) - Google Analytics