Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2002 10:14:59 +0400
From:      "Duke" <duke_net@mail.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re[2]: Lock dialup ttys(group) at night.
Message-ID:  <E17KCGZ-000M2c-00@f7.mail.ru>
In-Reply-To: <20020618084507.I12511-100000@server.hermes-comp.zp.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

-----Original Message-----
From: Alexander V Zubchenko <stalker@hermes-comp.zp.ua>
To: duke_net <duke_net@mail.ru>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E17KCGZ-000M2c-00>