Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 1999 14:06:30 +0200 (EET)
From:      ts@polynet.lviv.ua
To:        freebsd-questions@FreeBSD.ORG
Subject:   HELP: Dial-UP user, login.conf and session limits
Message-ID:  <Pine.BSF.4.02.9902041324450.27934-100000@NetSurfer.lp.lviv.ua>
In-Reply-To: <199902040922.MAA20433@gate.nitek.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02.9902041324450.27934-100000>