From owner-freebsd-security@FreeBSD.ORG Mon Jun 14 12:44:37 2004 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DCAD16A4CE; Mon, 14 Jun 2004 12:44:37 +0000 (GMT) Received: from buexe.b-5.de (buexe.b-5.de [80.148.32.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id D307A43D53; Mon, 14 Jun 2004 12:44:35 +0000 (GMT) (envelope-from lupe@lupe-christoph.de) Received: from antalya.lupe-christoph.de ([172.17.0.9])i5EChDS32346; Mon, 14 Jun 2004 14:43:13 +0200 Received: from localhost (localhost [127.0.0.1]) by antalya.lupe-christoph.de (Postfix) with ESMTP id D11D9B887; Mon, 14 Jun 2004 14:43:07 +0200 (CEST) Received: from antalya.lupe-christoph.de ([127.0.0.1]) by localhost (antalya [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03298-01-4; Mon, 14 Jun 2004 14:43:07 +0200 (CEST) Received: by antalya.lupe-christoph.de (Postfix, from userid 1000) id AB25CB886; Mon, 14 Jun 2004 14:43:07 +0200 (CEST) Date: Mon, 14 Jun 2004 14:43:07 +0200 To: cjclark@alum.mit.edu, Doug Barton , "freebsd-security@freebsd.org" , Remko Lodder , "David E. Meier" , Dan Rue Message-ID: <20040614124307.GD21387@lupe-christoph.de> References: <20040518160517.GA10067@therub.org> <20040520033024.GA26640@therub.org> <20040606233720.F1850@ync.qbhto.arg> <20040607204149.GC75747@blossom.cjclark.org> <20040609050217.Q5839@ync.qbhto.arg> <20040609145223.GA53862@blossom.cjclark.org> <20040614113858.GA13028@empiric.dek.spc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040614113858.GA13028@empiric.dek.spc.org> User-Agent: Mutt/1.5.5.1+cvs20040105i From: lupe@lupe-christoph.de (Lupe Christoph) X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at lupe-christoph.de Subject: Re: [Freebsd-security] Re: Multi-User Security X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 12:44:37 -0000 On Monday, 2004-06-14 at 12:38:58 +0100, Bruce M Simpson wrote: > On Wed, Jun 09, 2004 at 07:52:23AM -0700, Crist J. Clark wrote: > > To do scp-only, you either need (a) a hacked up sshd(8) daemon, (b) a > > jailed environment, or (c) a special shell for the user that only allows > > scp(1) to run. The funny thing is, I think (c) is probably the easiest > > to implement on a mass scale, but seems to be the option most seldom > > considered. > ports/shells/scponly That's a liiiitttle short. ;-) scponly covers both (b) as scponlyc and (c). It works with scp, sftp, WinSCP, gftp and (IIRC) rsync. Great tool. Lupe Christoph -- | lupe@lupe-christoph.de | http://www.lupe-christoph.de/ | | "... putting a mail server on the Internet without filtering is like | | covering yourself with barbecue sauce and breaking into the Charity | | Home for Badgers with Rabies. Michael Lucas |