From: Jan Rekorajski Date: Thu, 9 May 2002 12:00:35 +0000 (+0000) Subject: Relevant BUGIDs: 533664 X-Git-Tag: Linux-PAM-0-76~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d60c9f8c46ed5ea97279cd03ba7aafc65efc9c12;p=linux-pam Relevant BUGIDs: 533664 Purpose of commit: new feature Commit summary: --------------- document '%' domain for maxlogins limit and clarify how '*' and @group domains work for login limiting --- diff --git a/doc/modules/pam_limits.sgml b/doc/modules/pam_limits.sgml index eaa16bd9..44f057c4 100644 --- a/doc/modules/pam_limits.sgml +++ b/doc/modules/pam_limits.sgml @@ -114,6 +114,8 @@ The fields listed above should be filled as follows... a username a groupname, with @group syntax the wild-card the wild-card %group syntax

@@ -203,6 +205,28 @@ Note, the use of +Note, that wild-cards + %group is specified + +See the following examples: + + +# EXAMPLE /etc/security/limits.conf file: +# +* - maxlogins 2 +@faculty - maxlogins 4 +% - maxlogins 30 +%student - maxlogins 10 + + +Explanation: every user can login 2 times, members of the For the services that need resources limits (login for example) put the following line in /etc/pam.conf as the last line for that