*BSD News Article 63414


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!europa.chnt.gtegsc.com!ra.nrl.navy.mil!news.math.psu.edu!chi-news.cic.net!cs.utexas.edu!howland.reston.ans.net!surfnet.nl!newshost.vu.nl!cs.vu.nl!sun4nl!xs4all!usenet
From: Sander Temme <sctemme@xs4all.nl>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to permit FTP w/o giving shell access?
Date: Mon, 11 Mar 1996 13:47:09 +0100
Organization: Wherever
Lines: 21
Message-ID: <314420CD.3F54BC7E@xs4all.nl>
References: <4i0p0k$jtj@muenchen.photogrammetrie.de>
NNTP-Posting-Host: asd03-29.dial.xs4all.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (X11; I; FreeBSD 2.1.0-RELEASE i386)
To: Gerhard Mehldau <mehldau@photogrammetrie.de>

Gerhard Mehldau wrote:
> 
> Hello world,
> 
> I would like to give some users access to a (FreeBSD 2.1)
> system *without* allowing them to login directly.  I've
> tried setting their shell to /nonexistent, but that also
> prevents them from using ftp.  Any ideas?
> 

Add /nonexistent to the file /etc/shells . Ftpd will not allow users to
connect who are not using one of these shells. 

Otherwise, this is the way to go.

S.

-- 
Sander the Sybersurfer                               sctemme@xs4all.nl
Powered by FreeBSD                       http://www.xs4all.nl/~sctemme
Finger sctemme@xs4all.nl for PGP Public Key.