From owner-freebsd-questions Mon Jun 17 22:50:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lexx.zssm.zp.ua (lexx.zssm.zp.ua [212.8.32.8]) by hub.freebsd.org (Postfix) with ESMTP id DEF1437B40D for ; Mon, 17 Jun 2002 22:50:41 -0700 (PDT) Received: from server.hermes-comp.zp.ua (germes-comp.zssm.zp.ua [212.8.32.132] (may be forged)) by lexx.zssm.zp.ua (8.9.2/8.9.2) with ESMTP id IAA14313; Tue, 18 Jun 2002 08:48:55 +0300 (EET DST) Received: from localhost (localhost [127.0.0.1]) by server.hermes-comp.zp.ua (Postfix) with ESMTP id B2C8538302; Tue, 18 Jun 2002 08:52:44 +0300 (EEST) Date: Tue, 18 Jun 2002 08:52:44 +0300 (EEST) From: Alexander V Zubchenko To: duke_net Cc: Subject: Re: Lock dialup ttys(group) at night. In-Reply-To: <1888759799.20020618082139@mail.ru> Message-ID: <20020618084507.I12511-100000@server.hermes-comp.zp.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greetings! On Tue, 18 Jun 2002, duke_net wrote: > Hello freebsd-questions, > > How to block tty at night, through login.conf(class). > > > ttys: > ttyd0 ......................... group=dialup > > login.conf: > dialup:\ > :times.deny=SuMo2000-2300:\ I've done similar task a long time ago. But, afair and accordingly to login.conf(5) manpage, You want to deny login from 8p.m. to 11p.m., right? And only on Sunday and Monday? If yes, than i don't know. But, afaik, this is not what You want. SuMoTuWeThFrSa2000-0600 may help? With respect Alexander V Zubchenko, E-Mail: stalker@hermes-comp.zp.ua System Administrator, WWW: http://www.hermes-comp.zp.ua/ Hermes-comp, Ukraine, Zaporizhzhya, Geroev Stalingrada 50 phone/fax: +380 612 64-19-72 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message