ORA-28002: the password will expire within 7 days 解决方法
2017-12-14 16:45
627 查看
4000
[b]最后一步要改密码,否则还会报错。[/b]
1. 查看用户的profile设置:
一般用户的profile设置都为DEFAULT。
2. 查看系统profiles中[b]PASSWORD_LIFE_TIME设置:[/b]
3. 修改DBA_PROFILES中[b]PASSWORD_LIFE_TIM的设置,改为ULIMITED。[/b]
修改后设置立即生效,不需要重启数据库,此时密码永远不会过期。
4. 已经被报告了密码快要过期的账户必须再改一次密码(需要DBA权限)
以system用户为例
再连接数据再也不会出现密码过期的事情了。
如果是其他用户的话,那么就使用其他用户名。
[b]最后一步要改密码,否则还会报错。[/b]
1. 查看用户的profile设置:
SELECT username,profile FROM dba_users;
一般用户的profile设置都为DEFAULT。
2. 查看系统profiles中[b]PASSWORD_LIFE_TIME设置:[/b]
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中[b]PASSWORD_LIFE_TIM的设置,改为ULIMITED。[/b]
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;
相关文章推荐
- 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 解决方法
- 【转载】错误: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 解决方法
- 错误: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 解决方法
- 11g sqlplus报错ORA-28002: the password will expire within 5 days 的解决方法
- Oracle错误 ORA-28002: the password will expire within 7 days 的解决办法
- 解决ORA-28002:the password will expire within 1 days的问题