From owner-freebsd-questions Mon Jun 17 23:15:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx9.mail.ru (mx9.mail.ru [194.67.57.19]) by hub.freebsd.org (Postfix) with ESMTP id 774EC37B40D for ; Mon, 17 Jun 2002 23:15:01 -0700 (PDT) Received: from f7.int ([10.0.0.104] helo=f7.mail.ru) by mx9.mail.ru with esmtp (Exim MX.9) id 17KCGa-000Eqs-00 for freebsd-questions@freebsd.org; Tue, 18 Jun 2002 10:15:00 +0400 Received: from mail by f7.mail.ru with local (Exim FE.7) id 17KCGZ-000M2c-00 for freebsd-questions@freebsd.org; Tue, 18 Jun 2002 10:14:59 +0400 Received: from [213.154.195.90] by win.mail.ru with HTTP; Tue, 18 Jun 2002 10:14:59 +0400 From: "Duke" To: freebsd-questions@freebsd.org Cc: Subject: Re[2]: Lock dialup ttys(group) at night. Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [213.154.195.90] Date: Tue, 18 Jun 2002 10:14:59 +0400 In-Reply-To: <20020618084507.I12511-100000@server.hermes-comp.zp.ua> Reply-To: "Duke" Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: 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 -----Original Message----- From: Alexander V Zubchenko To: duke_net Date: Tue, 18 Jun 2002 08:52:44 +0300 (EEST) Subject: Re: Lock dialup ttys(group) at night. > > 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 Only for users(ivanov) works class(login.conf[:times.deny ...]), and in ttys(group) does not work !!! The Default a class times.deny WORKS . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message