From owner-freebsd-stable@FreeBSD.ORG Thu Nov 27 19:47:33 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDBC416A4CE for ; Thu, 27 Nov 2003 19:47:33 -0800 (PST) Received: from aphrodite.aquezada.com (H130.C231.tor.velocet.net [216.138.231.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6891743FD7 for ; Thu, 27 Nov 2003 19:47:32 -0800 (PST) (envelope-from lists+freebsd@aquezada.com) Received: from localhost (localhost [127.0.0.1]) by aphrodite.aquezada.com (Postfix) with ESMTP id 56C7A8EE for ; Thu, 27 Nov 2003 22:45:13 -0500 (EST) Received: from aphrodite.aquezada.com ([127.0.0.1])port 10024) with LMTP id 97515-03 for ; Thu, 27 Nov 2003 22:45:02 -0500 (EST) Received: from jupiter.acf.aquezada.com (jupiter.acf.aquezada.com [192.168.5.5]) by aphrodite.aquezada.com (Postfix) with ESMTP id D6DBA8ED for ; Thu, 27 Nov 2003 22:45:02 -0500 (EST) Received: by jupiter.acf.aquezada.com (Postfix, from userid 1001) id 22BAE52D0B; Thu, 27 Nov 2003 22:47:18 -0500 (EST) From: "Julian C. Dunn" To: freebsd-stable@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Aquezada Productions Message-Id: <1069991237.2759.263.camel@jupiter.acf.aquezada.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 27 Nov 2003 22:47:18 -0500 X-Virus-Scanned: by amavisd-new at aquezada.com Subject: help with login.conf session limiting X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2003 03:47:33 -0000 Hey folks, 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: subshell:Shell Subscriber Accounts:\ :tc=subscriber: subscriber|Subscribers:\ :accounted:\ :refreshtime=180d:\ :refreshperiod@:\ :sessionlimit=2:\ :autodelete=30d:\ :expireperiod=180d:\ :graceexpire=7d:\ :gracetime=10m:\ :warnexpire=7d:\ :warnpassword=7d:\ :idletime=30m:\ :tc=standard: Unfortunately, users appear to be able to log in more than twice. Any ideas? I Googled and searched the FreeBSD mailing lists at MARC, to no avail -- half the people claim that it doesn't work, and someone has offered up a hack shell script to be executed upon user signon, but I would be surprised if it has gone this long without working. - Julian -- [ Julian C. Dunn * ] [ WWW: www.aquezada.com/staff/julian/ * www.dreaming.org/~julian/ ] [ PGP: 0xFDC205B9 - 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ] [ "sometimes you win, sometimes you lose / and most times ] [ you choose between the two" - carole king, "sweet seasons" ]