From owner-freebsd-questions Sat Oct 17 10:49:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA06361 for freebsd-questions-outgoing; Sat, 17 Oct 1998 10:49:27 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horst.bfd.com (horst.bfd.com [12.9.219.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA06354 for ; Sat, 17 Oct 1998 10:49:23 -0700 (PDT) (envelope-from ejs@bfd.com) Received: from HARLIE.bfd.com (bastion.bfd.com [12.9.219.14]) by horst.bfd.com (8.9.1/8.9.1) with ESMTP id RAA12640; Sat, 17 Oct 1998 17:48:53 GMT (envelope-from ejs@bfd.com) Date: Sat, 17 Oct 1998 10:48:53 -0700 (PDT) From: "Eric J. Schwertfeger" To: ace24 cc: VEGA , kyky_2000@yahoo.com, questions@FreeBSD.ORG Subject: Re: Re[2]: I lost the second CD of FreeBSD 2.2.7 In-Reply-To: <13740.981016@gmx.net> 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 On Fri, 16 Oct 1998, ace24 wrote: > Friday, 16 October 1998, Vega wrote: > > > On Thu, 15 Oct 1998, Kyky Effe wrote: > > >> how do I disable telnet from all users accept couple special users. > >> > > i dont think you can disable it for everyone except certain users, > > although you can change the default telnet port (which i personally have > > never done, so i cant tell ya how) > > Dont give em shells, ie: change /usr/local/bin/bash to /etc/false or > something, which could be a small script like this: > echo "You do not have shell access please mail admin@yourdomain.com for more info" > (dont forgot to add the fake shell to /etc/shells) Did I miss something? why not use /etc/login.access? It seems to do exactly this. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message