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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.