*BSD News Article 63723


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!asstdc.scgt.oz.au!metro!metro!munnari.OZ.AU!news.mel.connect.com.au!yarrina.connect.com.au!news.mel.aone.net.au!the-fly.zip.com.au!brister
From: brister@zip.com.au (James Brister)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to permit FTP w/o giving shell access?
Date: 13 Mar 1996 06:35:10 GMT
Organization: Internet Software Consortium
Lines: 20
Message-ID: <4i5qau$4nh@the-fly.zip.com.au>
References: <4i0p0k$jtj@muenchen.photogrammetrie.de> <3144EED8.41C67EA6@FreeBSD.org>
NNTP-Posting-Host: zipper.zip.com.au
X-Newsreader: TIN [version 1.2 PL2]

Jordan K. Hubbard (jkh@FreeBSD.org) wrote:
: Gerhard Mehldau wrote:
: > 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?

: I guess you could make their shell /bin/sh and then give them a .profile
: that says:

Note I don't (yet) run FreeBSD, but I do run BSD/OS, which is pretty similar
I think.

How 'bout making their shell be /bin/false. Making sure that /bin/false is a
legal shell (in /etc/shells on a BSD/OS system).

James
--
James Brister                                              brister@vix.com
The Internet Software Consortium