From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21671 invoked from network); 21 May 1997 09:46:10 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 21 May 1997 09:46:10 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id FAA14889; Wed, 21 May 1997 05:36:18 -0400 (EDT) Resent-Date: Wed, 21 May 1997 05:36:18 -0400 (EDT) Date: Wed, 21 May 1997 17:36:14 +0800 (HKT) From: "Simon M. H. Chan" Reply-To: "Simon M. H. Chan" To: zsh-workers@math.gatech.edu Subject: Restrict the other path Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-ID: <"V_IZC1.0.ae3.I8iWp"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3161 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Dear all, I have just downloaded the zsh-3.1.0, and succeed to complie it. However, I have a question. I would like to ask you that how to make a restricted zsh shell? The one which do not allow users to run applications in all directories except the specific directory which I allow them to run. Users can type the full path to run what they want, e.g. /usr/bin/chsh or they can complie program themselves and run it by ~/programname. I don't want this to be happened. Someone said that I just need to modify the source code "/zsh-3.1.0/Src/exec.c", however, I am not good at programming(I am just 16!) and I am worry that it will have bugs if I try to modify it myself. Please, if anyone know how to make a restricted shell, please help me. Thank you very much. Regards, Simon