oracle關於密碼嘗試次數的設定,oracle嘗試次數

來源:互聯網
上載者:User

oracle關於密碼嘗試次數的設定,oracle嘗試次數

原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明以下出處,否則追究著作權法律責任。

深藍的blog:http://blog.csdn.net/huangyanlong/article/details/42417761

實驗環境

作業系統

WIN7 64bit

資料庫

oracle 11G R2(11.2.0.1.0)

前提:使用者登陸嘗試密碼錯誤過多時,會造成使用者被鎖定。 

實驗:

使用PL/SQL Developer類比scott使用者多次密碼輸入錯誤時會提示“ORA-28000錯誤:使用者被鎖”,如下所示:

 

解決方案:

使用dba使用者將其解鎖即可,如下:

SQL> alter user scott account unlock;

再次登入即可,如下:

關於設定:

1、查看FAILED_LOGIN_ATTEMPTS的值

SQL>select *from dba_profiles;

2、修改預設次數

SQL>alterprofiledefaultlimitfailed_login_attempts100;

--修改錯誤嘗試次數為100次

3、修改預設無限制

SQL> alter profile default limit failed_login_attempts unlimited;

--密碼嘗試錯誤修改為無限制次數

 

原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明以下出處,否則追究著作權法律責任。

深藍的blog:http://blog.csdn.net/huangyanlong/article/details/42417761

相關文章

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.