From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18243 invoked from network); 21 Oct 2001 19:36:04 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 21 Oct 2001 19:36:04 -0000 Received: (qmail 9950 invoked by alias); 21 Oct 2001 19:35:54 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4416 Received: (qmail 9937 invoked from network); 21 Oct 2001 19:35:53 -0000 Date: Sun, 21 Oct 2001 21:21:16 +0200 From: "Nadav Har'El" To: Borsenkow Andrej Cc: Emre Yildirim , zsh-users@sunsite.dk Subject: Re: restricted shell Message-ID: <20011021212116.A8914@leeor.math.technion.ac.il> References: <3BD30F75.7060904@sgi.asper.org> <20011021201625.F11977@staudinger.suse.de> <3BD314E4.8090802@sgi.asper.org> <1003690856.3370.17.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2i In-Reply-To: <1003690856.3370.17.camel@localhost.localdomain>; from Andrej.Borsenkow@mow.siemens.ru on Sun, Oct 21, 2001 at 11:00:49PM +0400 Hebrew-Date: 5 Heshvan 5762 On Sun, Oct 21, 2001, Borsenkow Andrej wrote about "Re: restricted shell": > On Вск, 2001-10-21 at 22:33, Emre Yildirim wrote: > > able to execute certain commands (like echo, pwd, export, etc). > > How can I restrict the execution of those commands as well? > > > > 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 > > there. And probably also disable enable If you don't want the user to "enable echo" back... -- Nadav Har'El | Sunday, Oct 21 2001, 5 Heshvan 5762 nyh@math.technion.ac.il |----------------------------------------- Phone: +972-53-245868, ICQ 13349191 |"Computers are useless. They can only http://nadav.harel.org.il |give you answers." -- Pablo Picasso