Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Regarding /etc/pam.d/login

User_TV95ZFeb 9 2009 — edited Apr 16 2009
Note: 567524.1 and all the install docs says that:

Begin ************

When you login to the Linux machine, the "login" program reads the file /etc/pam.d/login.
The following line has been included in this file:

session required pam_limits.so

This line tells the "login" program to load the pam_limits.so module during login.
In turn, the pam_limits.so module is configured to read the file /etc/security/limits.conf.
Only the root user can edit this file. This file lists those users who can set the ulimit values.

For example, the following lines in /etc/security/limits.conf file

oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536

restricts the maximum number of processes for the oracle user to 16384 and maximum number of open files to 65536.

End ************

Now my question is :

Do we really need to edit /etc/pam.d/login if we are,

a. Logging through ssh and not through 'telnet'. (telnet is prohibited in my site.)
b. Not using console login of the system?

Assuming we don't have the entry for /etc/pam.d/login, does the system obeys limits.conf entries ?

a. If people are running their jobs through cron
b. Any processes that are started by DBAs through some run level scripts.

Thanks,
Sashi.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 14 2009
Added on Feb 9 2009
3 comments
7,102 views