Oracle ORA-28002: the password will expire within 10 days
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文件 绑定到用户
相关推荐
Hody 2020-08-16
FightFourEggs 2020-08-16
yanghuatong 2020-08-16
LuoXinLoves 2020-08-09
Justdoit00 2020-06-26
娜娜 2020-06-22
Carlos 2020-06-16
zhangchaoming 2020-06-04
FightFourEggs 2020-05-28
Carlos 2020-05-26
流云追风 2020-05-14
Kingonion 2020-05-04
langyue 2020-05-03
zjyhll 2020-04-26
oraclemch 2020-04-19
learningoracle 2020-04-18