Home > Database > Mysql Tutorial > Oracle ORA-28002: the password will expire within 10 days

Oracle ORA-28002: the password will expire within 10 days

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:59:08
Original
1204 people have browsed it

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文件 绑定到用户

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template