ORA-28002: the password will expire within x days
来源:互联网 发布:php 数值 偏移量 编辑:程序博客网 时间:2024/04/29 18:48
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 sysdbaalter user system identified by root;
再连接数据再也不会出现密码过期的事情了。
- ORA-28002: the password will expire within x days
- ORA-28002: the password will expire within x days
- ORA-28002: the password will expire within string days
- ORA-28002: the password will expire within N 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 6 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 解决方法
- 11g sqlplus报错ORA-28002: the password will expire within 3 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 解决方法
- @autoreleasepool内存管理
- javascript用闭包保存状态
- 初识MVC框架
- Java成为当下美国PC面临的最大安全威胁
- Spring MVC 中的 HandlerInterceptor
- ORA-28002: the password will expire within x days
- 【搭建vpn】Debian/Ubuntu搭建vpn
- ASP.NET—017:ASP.NET中清空按钮的实现
- HDOJ 2018 母牛的故事
- java中的匿名内部类总结
- windows驱动编程学习(1)--------了解驱动
- error C2065: 'IDM_PHONE1' : undeclared identifier
- 详细分析小米抢购软件的实现步骤
- java中数据存储以及内存分配