*BSD News Article 86728


Return to BSD News archive

#! rnews 2278 bsd
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!newsfeeds.sol.net!newspump.sol.net!mindspring!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!su-news-hub1.bbnplanet.com!news.pbi.net!news.s-cc.com!usenet
From: John Prochaska <john@s-cc.com>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: FTPD software
Date: Sat, 18 Jan 1997 23:27:58 -0800
Organization: S&C Communications
Lines: 38
Message-ID: <32E1CCFE.40C4@s-cc.com>
References: <5aumup$33g@news.ccss.net>
Reply-To: john@s-cc.com
NNTP-Posting-Host: port78.mach3.s-cc.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (Win95; I)
CC: mikek@ccss.net
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:5585

Michael Kalogianis wrote:
> 
> Im running BSDI 2.1, and i am in need of a FTPD that will allow me to
> create user accounts and what dir's they have access to.
> 
> Seems that the FTPD that comes with BSDI is only for anonymous users only,
> or for users that can access the system via telnet as well. I just want
> them to have FTP access without the having shell access..
> 
> Is there a way to do it with the FTPD that comes with 2.1??
> 
> Thanks alot..
> 
> Michael
> mikek@ccss.net

Yeah, try using login classes for those that you want telnet access to
(sysadms, tech support, etc.).  Put a file
called nologin in /etc.  This is just a flat ascii file that has a
message to display when someone tries to log
in (telnet or rlogin), before it gives them the boot.  For those that
you want to give telnet/login/rlogin access,
in the /etc/login.conf set that "login class" to ignore the nologin
file.  There's examples of how to do this already
in the login.conf file.  the /etc/nologin file has no effect on FTP, so
this method can restrict logins to whoever
you want, yet still allowing FTP to everyone.
-------------------------------------
   _/_/_/  _/_/_/_/_/  _/_/_/
     _/        _/      _/    _/
     _/        _/      _/    _/
_/   _/        _/      _/_/_/
_/   _/        _/      _/
 _/_/          _/      _/
Name: John Prochaska
S&C Communications
E-mail: john@s-cc.com or john@mpu.com
-------------------------------------