错误:ORA-28002: the password will expire within 7 days 解决方法
来源:互联网 发布:淘宝关键词排名 编辑:程序博客网 时间:2024/05/14 18:14
今天在使用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 解决方法
- 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 解决方法
- 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
- [转]ERROR ORA-28002: the password will expire within 7 days 解决方法
- 从求逆序对和mergeSort谈起(3)
- 面向对象_静态
- WebView的使用及实战
- 437. Path Sum III\515. Find Largest Value in Each Tree Row
- css3 弹性盒模型(三)
- 错误:ORA-28002: the password will expire within 7 days 解决方法
- tensorflow读取文件数据
- C++运算符重载
- python进阶6:匿名函数
- 富文本(TYAttributedLabel 简单,强大的属性文本控件(无需了解CoreText),支持图文混排显示,支持添加链接,image和UIView控件,支持自定义排版显示)
- 初步探究ES6之箭头函数
- 解决Android拍照保存在系统相册不显示的问题
- 项目审查图片报404找不到
- (二)opencv3.2之 图片显示