Date: Sat, 17 Oct 1998 10:48:53 -0700 (PDT) From: "Eric J. Schwertfeger" <ejs@bfd.com> To: ace24 <ace24@gmx.net> Cc: VEGA <vega@d132-h017.rh.rit.edu>, kyky_2000@yahoo.com, questions@FreeBSD.ORG Subject: Re: Re[2]: I lost the second CD of FreeBSD 2.2.7 Message-ID: <Pine.BSF.4.05.9810171046160.21699-100000@harlie.bfd.com> In-Reply-To: <13740.981016@gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9810171046160.21699-100000>