/etc/security/limits.conf in tao-1.0
[email protected] Tue, 10 May 2005 15:03:07 +0200 (CEST)
| Newsgroups | gmane.linux.tao.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I think I've found a bug in pam on tao-1.0 (limits.conf).
On a standard installed tao-1.0 machine I've configured
/etc/security/limits.conf to only allow 2 logins for all users in the
example group. It looks like this.
@example - maxlogins 2
On a tao-1.0 machines this gives me strange results. Only two logins are
allowed for the group example in total. Not two logins for each user in
the example group as pam-docs says.
On a tao-4.0 and a redhat-7.0 machine this gives the result that
PAM-documentation says (two logins for each user in the group allowed).
Qoute from Pam-docs at
http://www.us.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam-6.html#ss6.12
# EXAMPLE /etc/security/limits.conf file:
# <domain> <type> <item> <value>
* - maxlogins 2
@faculty - maxlogins 4
% - maxlogins 30
%student - maxlogins 10
Explanation: every user can login 2 times, members of the faculty group
can login 4 times, there can be only 30 logins, only 10 from students
group.
Have anyone else experienced and solved this problem?
Best regards
/Lars