*BSD News Article 63504


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.nla.gov.au!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!news.mathworks.com!zombie.ncsc.mil!nntp.coast.net!fu-berlin.de!cs.tu-berlin.de!informatik.uni-bremen.de!nordwest.pop.de!uniol!uni-erlangen.de!news.tu-chemnitz.de!narses.hrz.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to permit FTP w/o giving shell access?
Date: 12 Mar 1996 00:07:54 GMT
Organization: Private BSD site, Dresden
Lines: 15
Message-ID: <4i2f8q$16o@uriah.heep.sax.de>
References: <4i0p0k$jtj@muenchen.photogrammetrie.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

mehldau@photogrammetrie.de (Gerhard Mehldau) writes:

> 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?

Use /sbin/nologin, and include this one into /etc/shells.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)