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?

Greets,
_A_


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

Reply via email to