From owner-freebsd-questions Thu Feb 4 04:13:50 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA05531 for freebsd-questions-outgoing; Thu, 4 Feb 1999 04:13:50 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from Guard.PolyNet.Lviv.UA (Guard.PolyNet.Lviv.UA [194.44.138.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id EAA04493 for ; Thu, 4 Feb 1999 04:07:15 -0800 (PST) (envelope-from ts@polynet.lviv.ua) From: ts@polynet.lviv.ua Received: (qmail 6278 invoked by alias); 4 Feb 1999 12:06:33 -0000 Received: (qmail 6271 invoked from network); 4 Feb 1999 12:06:31 -0000 Received: from postoffice.polynet.lviv.ua (194.44.138.1) by guard.polynet.lviv.ua with SMTP; 4 Feb 1999 12:06:31 -0000 Received: (qmail 361 invoked by uid 1000); 4 Feb 1999 12:06:30 -0000 Date: 4 Feb 1999 14:06:30 +0200 Date: Thu, 4 Feb 1999 14:06:30 +0200 (EET) X-Sender: ts@NetSurfer.lp.lviv.ua To: freebsd-questions@FreeBSD.ORG Subject: HELP: Dial-UP user, login.conf and session limits In-Reply-To: <199902040922.MAA20433@gate.nitek.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all I've got the problem setting session limit for my dialup account. As a test I've set sessionlimit to 3m but user can work much over it. What I need is just fixed session time, e.g 33m and allow to dial-up only from 6pm till 7am. Can anyone help me to construct these rules ? Thanks in advance. PS I did rebuild login.conf database and even rebooted machine. ===== user: ppp class: subppp login.conf entries: [...] dialer:\ :hushlogin:\ :requirehome@:\ :cputime=unlimited:\ :filesize=2M:\ :datasize=2M:\ :stacksize=4M:\ :coredumpsize=0:\ :memoryuse=4M:\ :memorylocked=1M:\ :maxproc=16:\ :openfiles=32:\ :tc=standard: subscriber|Subscribers:\ :accounted:\ :refreshtime=180d:\ :refreshperiod@:\ :sessionlimit@:\ :expireperiod=180d:\ :graceexpire=7d:\ :gracetime=10m:\ :warnexpire=7d:\ :warnpassword=7d:\ :idletime=30m:\ :sessiontime=3m:\ :daytime=20h:\ :weektime=80h:\ :monthtime=220h:\ :warntime=4h:\ :tc=standard: subppp|PPP Subscriber Accounts:\ :tc=dialer:\ :tc=subscriber: [...] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message