How to set ulimit

(Last modified: 14Feb2005)

This document (10096341) is provided subject to the disclaimer at the end of this document.

fact

SUSE LINUX Enterprise Server 8

SUSE LINUX Enterprise Server 9

goal

To set the ulimits for users and have them be persistent do the following:

1. Edit the /etc/security/limits.conf file and add the limit(s) for an individual user, a group or for all users.  The limits.conf file has examples of the syntax for setting the limits.

2. Edit the /etc/pam.d/login file and add the following line: session   required    pam_limits.so          This will implement the limits set for the user in the /etc/security/limits.conf file when the user logs in via a standard console.   In order to have the limits take effect when the user logs in via X, the file /etc/pam.d/xdm will also need to be edited and the, session   required    pam_limits.so, line added.

document

Document Title: How to set ulimit
Document ID: 10096341
Solution ID: NOVL100712
Creation Date: 25Jan2005
Modified Date: 14Feb2005
Novell Product Class:Linux

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.