diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2009-02-20 13:27:12 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2009-02-20 13:27:12 +0000 |
commit | 2eb9c8be027c7b30dde7e8eaf8466434a0de3aa0 (patch) | |
tree | bd39a1479b7b886bacd2350f607e610fb43af5d2 /modules/pam_limits/limits.conf.5.xml | |
parent | 2afda8880a7bdec2cae03ba4d210916fe7289804 (diff) | |
download | pam-2eb9c8be027c7b30dde7e8eaf8466434a0de3aa0.tar.gz pam-2eb9c8be027c7b30dde7e8eaf8466434a0de3aa0.tar.bz2 pam-2eb9c8be027c7b30dde7e8eaf8466434a0de3aa0.zip |
Relevant BUGIDs:
Purpose of commit: enhancement
Commit summary:
---------------
2009-02-20 Thorsten Kukuk <kukuk@thkukuk.de>
* modules/pam_limits/limits.conf.5.xml: Document that the kernel
can refuse values out of range for the local system.
* modules/pam_limits/pam_limits.c (setup_limits): Log if setrlimit
fails.
Diffstat (limited to 'modules/pam_limits/limits.conf.5.xml')
-rw-r--r-- | modules/pam_limits/limits.conf.5.xml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/modules/pam_limits/limits.conf.5.xml b/modules/pam_limits/limits.conf.5.xml index aabcf2cc..a9757a7f 100644 --- a/modules/pam_limits/limits.conf.5.xml +++ b/modules/pam_limits/limits.conf.5.xml @@ -230,11 +230,18 @@ </variablelist> <para> - All items support the values <emphasis>-1</emphasis>, + All items support the values <emphasis>-1</emphasis>, <emphasis>unlimited</emphasis> or <emphasis>infinity</emphasis> indicating no limit, except for <emphasis remap='B'>priority</emphasis> and <emphasis remap='B'>nice</emphasis>. </para> <para> + If a hard limit or soft limit of a resource is set to a valid value, + but outside of the supported range of the local system, the system + may reject the new limit or unexpected behavior may occur. If the + control value <emphasis>required</emphasis> is used, the module will + reject the login if a limit could not be set. + </para> + <para> In general, individual limits have priority over group limits, so if you impose no limits for <emphasis>admin</emphasis> group, but one of the members in this group have a limits line, the user will have its @@ -251,8 +258,8 @@ - after which the rest of the line is ignored. </para> <para> - The pam_limits module does its best to report configuration problems - found in its configuration file via <citerefentry> + The pam_limits module does report configuration problems + found in its configuration file and errors via <citerefentry> <refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry>. </para> </refsect1> @@ -281,6 +288,7 @@ ftp hard nproc 0 <citerefentry><refentrytitle>pam.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>, <citerefentry><refentrytitle>pam</refentrytitle><manvolnum>8</manvolnum></citerefentry>, <citerefentry><refentrytitle>getrlimit</refentrytitle><manvolnum>2</manvolnum></citerefentry> + <citerefentry><refentrytitle>getrlimit</refentrytitle><manvolnum>3p</manvolnum></citerefentry> </para> </refsect1> |