错误:ORA-28002: the password will expire within 7 days 解决方法
2014-06-30 09:04
645 查看
http://www.cnblogs.com/xwdreamer/archive/2011/07/06/2296986.html
今天在使用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权限)
以system用户为例
再连接数据再也不会出现密码过期的事情了。
如果是其他用户的话,那么就使用其他用户名。
今天在使用sqlplus时出现
===============================================
ERROR:
ORA-28002: the password will expire within 7 days
===============================================
提示密码快过期了,由于需要连接的测试数据库,所以决定将密码设置成永不过期。
1.查看用户的profile设置:
SELECT username,profile FROM dba_users;
一般用户的profile设置都为DEFAULT。
2.查看系统profiles中PASSWORD_LIFE_TIME设置。
SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';
PROFILE RESOURCE_NAME RESOURCE LIMIT
------------------------------ -------------------------------- ------------------------------------------------
DEFAULT PASSWORD_LIFE_TIME PASSWORD 180dys
==============================================================
3.修改DBA_PROFILES中PASSWORD_LIFE_TIM的设置,改为ULIMITED。
ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
修改后设置立即生效,不需要重启数据库,此时密码永远不会过期。
4.已经被报告了密码快要过期的账户必须再改一次密码(需要DBA权限)
以system用户为例
sqlplus / as sysdba alter user system identified by root;
再连接数据再也不会出现密码过期的事情了。
如果是其他用户的话,那么就使用其他用户名。
alter user scott identified by tiger;
相关文章推荐
- 错误:ORA-28002: the password will expire within 7 days 解决方法
- Oracle 11g 错误:ORA-28002: the password will expire within 7 days 解决方法
- 错误:ORA-28002: the password will expire within 7 days 解决方法
- 错误:ORA-28002: the password will expire within 7 days 解决方法
- 错误:ORA-28002: the password will expire within 7 days 解决方法
- 错误:ORA-28002: the password will expire within 7 days 解决方法
- Oracle 11g 错误:ORA-28002: the password will expire within 7 days 解决方法
- oracle错误:ORA-28002: the password will expire within 7 days 解决方法
- 错误:ORA-28002: the password will expire within 7 days 解决方法
- 错误:ORA-28002: the password will expire within 7 days 解决方法
- 【转载】错误:ORA-28002: the password will expire within 7 days 解决方法
- ORA-28002: the password will expire within 7 days 解决方法
- Oracle错误 ORA-28002: the password will expire within 7 days 的解决办法
- ORA-28002: the password will expire within 7 days 解决方法
- ORA-28002: the password will expire within 7 days 解决方法
- 转ORA-28002: the password will expire within 7 days 解决方法
- Oracle SQL Developer出现错误 【ora-28002:the password will expire within 7 days】的解决办法
- ORA-28002: the password will expire within 7 days 解决方法(后面部分为拷贝,前面加上了自己遇到的问题的时候解决方案)
- ORA-28002: the password will expire within 7 days 解决方法
- ORA-28002: the password will expire within 7 days解决