*BSD News Article 76996


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!news-res.gsl.net!news.gsl.net!news.mathworks.com!newsfeed.internetmci.com!news.inc.net!news.sprintlink.net!news-chi-8.sprintlink.net!gol2!pb.injapan.net!user
From: doug@inJapan.net (Doug Lerner)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: How to limit FTP access?
Date: 27 Aug 1996 10:35:31 GMT
Organization: inJapan
Lines: 21
Message-ID: <doug-2708961936120001@pb.injapan.net>
NNTP-Posting-Host: pb.injapan.net

Can someone tell me how to limit FTP access?

Our members do not have a login shell (they are all /sbin/nologin), but I 
just noticed that they seem to have FTP access (they all know their 
passwords, because they use the machine for POP mail access).

Is there a way I can prevent FTP logins to all but a few members?

The ftpd man page suggests using the /etc/nologin file to prevent FTP 
access. But when I do that, not only is everybody's FTP access restricted, 
I cannot even telnet in for maintenance anymore!

There is also a /etc/ftpusers file, but this is a file of people *not* 
allowed ftp access. 

Is there an opposite file - a file of people who *are* allowed ftp access?

Thanks,

Doug Lerner, Tokyo
doug@inJapan.net