Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2003 10:18:56 -0500
From:      Tomasz Konefal <tkonefal@compt.com>
To:        me@farid-hajji.de
Cc:        "Julian C. Dunn" <lists+freebsd@aquezada.com>
Subject:   Re: help with login.conf session limiting
Message-ID:  <3FC76760.7080104@compt.com>
In-Reply-To: <200311281013.25726.me@farid-hajji.de>
References:  <1069991237.2759.263.camel@jupiter.acf.aquezada.com> <200311281013.25726.me@farid-hajji.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Farid Hajji wrote:
> 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.

PAM has all sorts of functionality that you may be able to strap on 
here.  examples here:
http://www.samag.com/documents/s=1161/sam0009a/0009a.htm

cheers,
   twkonefal


-- 
Tomasz Konefal
Systems Administrator
Command Post and Transfer Corp.
416-585-9995 x.349



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