summaryrefslogtreecommitdiff
path: root/modules/pam_limits
diff options
context:
space:
mode:
authorikerexxe <ipedrosa@redhat.com>2020-06-26 12:03:31 +0200
committerDmitry V. Levin <ldv@altlinux.org>2020-06-29 08:27:52 +0000
commitadc037167ad293242d9c69c4d427da1001f26706 (patch)
tree14208df0542f7e265c9fe82168d69d89e84afe34 /modules/pam_limits
parent54cf7a23982fc68cab488b1639ba7a1cb15742d2 (diff)
pam_limits: clarify configuration file
Resolves: https://github.com/linux-pam/linux-pam/pull/249
Diffstat (limited to 'modules/pam_limits')
-rw-r--r--modules/pam_limits/limits.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/pam_limits/limits.conf b/modules/pam_limits/limits.conf
index be621a7c..d4ffc17d 100644
--- a/modules/pam_limits/limits.conf
+++ b/modules/pam_limits/limits.conf
@@ -1,5 +1,16 @@
# /etc/security/limits.conf
#
+#This file sets the resource limits for the users logged in via PAM.
+#It does not affect resource limits of the system services.
+#
+#Also note that configuration files in /etc/security/limits.d directory,
+#which are read in alphabetical order, override the settings in this
+#file in case the domain is the same or more specific.
+#That means, for example, that setting a limit for wildcard domain here
+#can be overriden with a wildcard setting in a config file in the
+#subdirectory, but a user specific setting here can be overriden only
+#with a user specific setting in the subdirectory.
+#
#Each line describes a limit for a user in the form:
#
#<domain> <type> <item> <value>