From owner-freebsd-questions Mon Nov 27 04:41:08 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA27411 for questions-outgoing; Mon, 27 Nov 1995 04:41:08 -0800 Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id EAA27383 for ; Mon, 27 Nov 1995 04:40:26 -0800 Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.6.12/8.6.9) id OAA26075; Mon, 27 Nov 1995 14:35:58 +0200 From: John Hay Message-Id: <199511271235.OAA26075@zibbi.mikom.csir.co.za> Subject: Re: Restricted Shell To: js@ibbs.anaheim.ca.us (Jeff Stillinger) Date: Mon, 27 Nov 1995 14:35:57 +0200 (SAT) Cc: questions@FreeBSD.ORG In-Reply-To: from "Jeff Stillinger" at Nov 26, 95 07:33:18 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 454 Sender: owner-questions@FreeBSD.ORG Precedence: bulk > > > Hello, > > How can I get sh to give me a restricted shell? I have tried the old > trick of making a copy as rsh. It seems that I can still move around > the system. I want to run a set of shell scripts, but if the user > breaks out of them, they should not have free run of the system. > There is a restricted shell that comes with the latest sendmail (8.7.X). Maybe you should have a look at that. John -- John Hay -- John.Hay@csir.co.za