當前位置:
首頁 > 最新 > Linux系統安裝Oracle,配置etc/security/limits.conf文件

Linux系統安裝Oracle,配置etc/security/limits.conf文件

Linux-PAM(linux可插入認證模塊)是一套共享庫,使本地系統管理員可以隨意選擇程序的認證方式.有個博客介紹的蠻詳細:

https://www.cnblogs.com/hftian/p/6944133.html

英文版網址: www.linux-pam.org

Linux Pluggable Authentication Modules (PAM)provide dynamic authentication support for applications and services in a Linuxor GNU/kFreeBSD[1] system. Linux PAM is evolved from the Unix PluggableAuthentication Modules architecture.

Linux-PAM separates the tasks of authenticationinto four independent management groups:

account modules check that the specified account is a validauthentication target under current conditions. This may include conditionslike account expiration, time of day, and that the user has access to therequested service.

authentication modules verify the user"s identity, forexample by requesting and checking a password or other secret. They may alsopass authentication information on to other systems like a keyring.

password modules are responsible for updating passwords, andare generally coupled to modules employed in the authentication step. They mayalso be used to enforce strong passwords.

session modules define actions that are performed at thebeginning and end of sessions. A session starts after the user has successfullyauthenticated.

每個驗證模塊的配置文件應該位於/etc/security中,如pam_limits.so模塊對應的配置文件為limits.conf,pam_group.so模塊對應的配置文件為group.conf等。我們需要配置/etc/security/limits.conf文件, 這是linux對資源的限制進行配置的文件。

Oracle官方要求,我們追加以下內容:

oracle soft nproc 2047

oracle hard nproc 16384

oracle soft nofile 1024

oracle hard nofile 65536

oracle soft stack 10240

編輯vi /etc/pam.d/login,這是將配置文件加入到登錄驗證模塊

session required pam_limits.so


喜歡這篇文章嗎?立刻分享出去讓更多人知道吧!

本站內容充實豐富,博大精深,小編精選每日熱門資訊,隨時更新,點擊「搶先收到最新資訊」瀏覽吧!


請您繼續閱讀更多來自 西二旗IT女 的精彩文章:

TAG:西二旗IT女 |