From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9816 invoked from network); 23 Jul 2001 22:01:10 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Jul 2001 22:01:10 -0000 Received: (qmail 8130 invoked by alias); 23 Jul 2001 22:01:02 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15464 Received: (qmail 8119 invoked from network); 23 Jul 2001 22:01:01 -0000 Date: Tue, 24 Jul 2001 01:00:52 +0300 From: "Nadav Har'El" To: Bart Schaefer Cc: Zsh hackers list Subject: Re: Enable/disable (was Re: Enhanced shell) Message-ID: <20010724010052.A12156@leeor.math.technion.ac.il> References: <20010722224707.BD7621428E@pwstephenson.fsnet.co.uk> <3B5C06E6.FFFCCFCC@u.genie.co.uk> <20010723150019.A25511@leeor.math.technion.ac.il> <1010723163850.ZM14004@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <1010723163850.ZM14004@candle.brasslantern.com>; from schaefer@candle.brasslantern.com on Mon, Jul 23, 2001 at 04:38:50PM +0000 Hebrew-Date: 4 Av 5761 On Mon, Jul 23, 2001, Bart Schaefer wrote about "Enable/disable (was Re: Enhanced shell)": > } These are useful for restricted-shell mode, when you sometimes want to > } disable builtins (e.g., the "read" builtin allows the restricted user to > } read files that they shouldn't). > > As of 4.0.1, `builtin read' will run `read' even after `disable read'. > Maybe we need to rethink that. Even if builtin's behavior remains, it's not so terrible, because somebody who wants to disable a builtin like read will just need to also disable "builtin", as well as (obviously) the "enable" command (or the restricted user will be able to reenable the command). But now that I think of it, does zsh have restricted-shell capabilities at all? Zsh has been my favorite shell for the last 8 years or so, but when I needed a restricted shell, I went with pdksh or bash 2. I don't know why... Perhaps the words "Zsh" and "restricted" just didn't sound right together :) -- Nadav Har'El | Tuesday, Jul 24 2001, 4 Av 5761 nyh@math.technion.ac.il |----------------------------------------- Phone: +972-53-245868, ICQ 13349191 |I don't eat snails. I prefer fast food. http://nadav.harel.org.il |