ORA-28001: the password has expired解决方法
来源:互联网 发布:知乎日报首页图片 编辑:程序博客网 时间:2024/04/29 10:59
Oracle提示错误消息ORA-28001: the password has expired,是由于Oracle11G的新特性所致, Oracle11G创建用户时缺省密码过期限制是180天(即6个月), 如果超过180天用户密码未做修改则该用户无法登录。 Oracle公司是为了数据库的安全性默认在11G中引入了这个默认功能,但是这个默认的功能很容易被DBA或者是开发人员给疏忽,一旦密码180天未修改过,就会出现这样的问题。
解决方法可通过如下SQL语句
注: 首先需要使用dba登录.
运行SQLPlus命令行工具, 输入:
connect as sysdba;
输入dba的用户名和密码后进行.
SELECT * FROM dba_profiles WHERE profile=’DEFAULT’ AND resource_name=’PASSWORD_LIFE_TIME’
查询密码的有效期设置,LIMIT字段是密码有效天数。
在密码将要过期或已经过期时可通过如下语句进行修改密码,密码修改后该用户可正常连接数据库。
ALTER USER 用户名 IDENTIFIED BY 密码 ;
如果想去除180天的密码生存周期的限制可通过如下SQL语句将其关闭
ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED
如上SQL语句将口令有效期默认值180天修改成了“无限制”。但是出于数据库安全性考虑,不建议将PASSWORD_LIFE_TIME值设置成UNLIMITED,建议大家定期修改数据库用户口令。
0 0
- ORA-28001: the password has expired解决方法
- ORA-28001: the password has expired解决方法
- ORA-28001: the password has expired解决方法
- ORA-28001: the password has expired解决方法
- ORA-28001: the password has expired解决方法
- ORA-28001: the password has expired解决方法
- ORA-28001: the password has expired解决方法
- ORA-28001: the password has expired解决方法
- ORA-28001: the password has expired解决方法
- ORA-28001: the password has expired解决方法
- ORA-28001: the password has expired解决方法
- ORA-28001: the password has expired解决方法
- ORA-28001: the password has expired解决方法
- ORA-28001: the password has expired解决方法
- ORA-28001: the password has expired
- 解决"ORA-28001: the password has expired”
- ORA-28001: the password has expired
- ORA-28001: the password has expired
- Jquery autocomplete插件的使用
- excel中以指定分隔符从右往左截取字符&多重判断
- 黑马程序员——IO流(三)
- linux下使用scp在服务器之间拷贝文件
- Java 静态内部类
- ORA-28001: the password has expired解决方法
- 谷歌眼镜 Google Glass 使用指南 V1.1(更新XE12、Myglass for iOS、近视解决方案)
- md5加密32位
- 第15届浙江省赛题 (dfs)
- 非模态对话框内存释放
- 算法实现(5)大整数乘法
- iOS企业开发In House ipa发布流程
- ACdream1139 Sum(推公式+逆元求解)
- 学习数据结构的网站