Heim >Datenbank >MySQL-Tutorial >Oracle ORA-28002: the password will expire within 10 days

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 17:59:081206Durchsuche

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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn