Oracle ORA-28002: the password will expire within 10 days解决方法如下 1、查询此用户的perfile文件 select username,profile from dba_users where username=SCOTT; 2、根据文件名查询值 select * from dba_profiles where profile=DEFAULT; – 3、修改密
Oracle ORA-28002: the password will expire within 10 days解决方法如下
1、查询此用户的perfile文件
select username,profile from dba_users where username=’SCOTT’;
2、根据文件名查询值
select * from dba_profiles where profile=’DEFAULT’;
–
3、修改密码过期时间password_life_time 为unlimited
alter profile default limit password_life_time unlimited;
4、查询密码复杂度验证 PASSWORD_VERIFY_FUNCTION VERIFY_FUNCTION
alter profile default limit PASSWORD_VERIFY_FUNCTION NULL;(不采用复杂度验证)
5、修改密码为原来密码
alter user scott identified by tiger;
上面修改默认的值可能会影响其他,建议创建一个perfile文件 绑定到用户
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 chuangxiangniao@163.com 举报,一经查实,本站将立刻删除。
发布者:程序猿,转转请注明出处:https://www.chuangxiangniao.com/p/816175.html
微信扫一扫
支付宝扫一扫