On Fri, Apr 21, 2006 at 10:48:10AM +0200, Ari?n Huisken wrote:
> Citeren Alain Fauconnet <[EMAIL PROTECTED]>:
> 
> > On Fri, Apr 21, 2006 at 10:34:07AM +0200, Ari?n Huisken wrote:
> >> > Hmmm... I use it with success on a web hosting box that has
> >> > this line in /etc/security/limits.conf:
> >> >
> >> > @webmastr       -       maxlogins       2
> >> >
> >> > "webmastr" is an /etc/group entry. Works for me (for SSH connections
> >> > and logins on the physical console, tested). I use TSL 2.2.
> >> >
> >> > I'd try replacing "hard" by "-" first, because "hard" doesn't apply
> >> > for a login limit.
> >> > Don't think that the "*" vs. "@group" would change a thing...
> >>
> >> I's not working, I tried:
> >>
> >> *   -   maxlogins   1
> >>
> >> Could still log in more than once and nothing shows up in the logs :(
> >> Tested with a standard user, not root.
> >
> > Hmmm... you do have that line:
> > session    required     /lib/security/pam_limits.so
> > in /etc/pam.d/login and /etc/pam.d/system-auth, don't you?
> >
> > Is this Trustix 2.2?
> >
> > Would you post your /etc/security/limits.conf please?

(...)

All this looks quite correct... I'm running out of ideas.
Actually, here is what I have in my /etc/security/limits.conf:

*               -       maxlogins       0
@webmastr       -       maxlogins       2

Can't quite recall why I had to put that line with 0...
Can you at least *try* to reproduce the same configuration
that works for me?
Use the group your users are members of instead of my "webmastr".
See what it does.

You still haven't mentioned which Trustix version is this, I think.

Greets,
_A_
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to