Date: Mon, 11 Oct 1999 13:30:24 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: Donald <druid@eoe-magical.org> Cc: freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: telnet Message-ID: <86770.939641424@axl.noc.iafrica.com> In-Reply-To: Your message of "Sun, 10 Oct 1999 18:17:19 MST." <38013A9F.E66BCCFC@eoe-magical.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 10 Oct 1999 18:17:19 MST, Donald wrote: > I want to block telnet access but not ftp access, how do I change the > login shell or what do I need to do to get this to work. This advice assumes that you mean that you want to block and allow access _per_ _user_. If that's not what you meant, see Marc Schneiders' reply. For login access via telnet, a user needs a valid shell listed in /etc/shells . Ftpd also requires that a user's shell be a valid shell in /etc/shells . So what do you do? :-) The easiest thing to do is add to the /etc/ftpusers the usernames from whom you want to revoke ftp access. This may not be scalable, depending on your requirements. You may want to add the restricted users to a new group (say noftp) and add the entire group to the /etc/ftpusers file as follows: @noftp Ciao, Sheldon. 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?86770.939641424>