Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2003 10:13:25 +0100
From:      Farid Hajji <me@farid-hajji.de>
To:        "Julian C. Dunn" <lists+freebsd@aquezada.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: help with login.conf session limiting
Message-ID:  <200311281013.25726.me@farid-hajji.de>
In-Reply-To: <1069991237.2759.263.camel@jupiter.acf.aquezada.com>
References:  <1069991237.2759.263.camel@jupiter.acf.aquezada.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 28 November 2003 04:47 am, Julian C. Dunn wrote:
> I wonder if any of you have ever tried to restrict the # of simultaneous
> sessions on a FreeBSD box using login.conf. I'm trying to use the
> 'sessionlimit' but it appears to be doing diddly squat. The class in
> question is the following "subshell" one:

login.conf is only used by login(1), not by sshd.
Try setting UseLogin in /etc/ssh/sshd_config
if you want sshd to use login, and therefore these
settings. Beware: this is NOT recommended.

> - Julian

-- 
Farid Hajji. http://www.farid-hajji.net/address.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311281013.25726.me>