今天在使用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权限)
再连接数据再也不会出现密码过期的事情了。
分享到:
相关推荐
故障现象 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...
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...
错误信息`ORA-28002: the password will expire within 7 days`明确地表明了用户的密码将在接下来的7天内到期。 该错误提示通常发生在设置了密码过期策略的情况下。Oracle数据库通过`DBA_PROFILES`视图来管理用户的...
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 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 ...
一旦密码过期,用户尝试登录时会收到错误提示,例如`ORA-28002: the password will expire within 7 days`或`ORA-28003: the password has expired`等。 **解决方法**: 1. **临时登录**:使用具有SYSDBA权限的...