From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18373 invoked from network); 21 Oct 2001 19:53:32 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 21 Oct 2001 19:53:32 -0000 Received: (qmail 16140 invoked by alias); 21 Oct 2001 19:53:21 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4418 Received: (qmail 16094 invoked from network); 21 Oct 2001 19:53:19 -0000 From: Bart Schaefer Message-Id: <1011021195307.ZM14907@candle.brasslantern.com> Date: Sun, 21 Oct 2001 19:53:07 +0000 In-Reply-To: <3BD322B8.2020601@sgi.asper.org> Comments: In reply to Emre Yildirim "Re: restricted shell" (Oct 21, 2:32pm) References: <3BD30F75.7060904@sgi.asper.org> <20011021201625.F11977@staudinger.suse.de> <3BD314E4.8090802@sgi.asper.org> <1003690856.3370.17.camel@localhost.localdomain> <3BD322B8.2020601@sgi.asper.org> X-Mailer: Z-Mail (5.0.0 30July97) To: Emre Yildirim , zsh-users@sunsite.dk Subject: Re: restricted shell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 21, 2:32pm, Emre Yildirim wrote: } } Borsenkow Andrej wrote: } } > Using disable builtin. Make .zshrc read-only for user (or do it in } > system zshrc and make user's home directory read-only) and put } > } > disable echo } } Hmm, that didn't work. I can still use echo after doing the above. "disable" only disables the builtin. If there's still an external command named "echo" in the path, that will get executed instead. zsh% which echo echo: shell built-in command zsh% disable echo zsh% which echo /bin/echo zsh% -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net