Date: Mon, 11 Oct 1999 06:17:20 -0700 From: Donald <druid@eoe-magical.org> To: Sheldon Hearn <sheldonh@uunet.co.za> Cc: freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: telnet Message-ID: <3801E360.CE6A14BA@eoe-magical.org> References: <86770.939641424@axl.noc.iafrica.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Actualy it was to block telnet access not ftp, but thanks for the help, I use all answers I get to create a FAQ for later use. Thanks. Sheldon Hearn wrote: > 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?3801E360.CE6A14BA>