增強oracle安全性(李榮權)

來源:互聯網
上載者:User

 

增強oracle安全性一、禁止 sys繞過密碼認證(與solaris群集衝突,慎用) 1.cd /export/home/oracle/OraHome1/network/admin/  如果不知道oracle的安裝路徑是什麼,可以使用如下命令找到檔案的位置  find / -name sqlnet.ora 2.ls -l查看檔案的使用者和所屬於的組的情況 3.修改檔案許可權,只有root可以修改  chown root sqlnet.ora 4.vi sqlnet.ora添加如下內容:sqlnet.authentication_services= () 5.使用 sqlplus / as sysdba 登入可以看到沒有許可權登入oracle的提示 二,啟用oracle審計功能1.查看oracle是否是使用spfile啟動的(pfile啟動無法通過參數修改啟動審計功能)  show parameter spfile  如果參數值為空白在代表使用pfile啟動2.從pfile產生spfile啟動設定檔  create spfile from pfile3.修改oracle的設定檔又pfile為spfile   關閉資料庫:shutdown normal

   啟動資料:startup

4.

查看審計是否開啟  show parameter audit5.審計sys sysdba使用者   alter system set audit_sys_operations=true scope=spfile6.啟用審計功能  alter system set audit_trail=os scope=spfile7.常用審計檔案夾 adump  常用審計資料庫 dba_common_audit_trail                 dba_audi_trail

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.