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

來源:互聯網
上載者:User

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檔案 綁定到使用者

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.