From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28663 invoked by alias); 29 Aug 2011 15:49:39 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16292 Received: (qmail 14985 invoked from network); 29 Aug 2011 15:49:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <110829084900.ZM32217@torch.brasslantern.com> Date: Mon, 29 Aug 2011 08:49:00 -0700 In-reply-to: <4E57FFA8.2060105@gmail.com> Comments: In reply to Piotr Karbowski "Zsh trying to access gcc and binutils binaries on login, why?" (Aug 26, 10:18pm) References: <4E57FFA8.2060105@gmail.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users Subject: Re: Zsh trying to access gcc and binutils binaries on login, why? MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Aug 26, 10:18pm, Piotr Karbowski wrote: } } Recenty I was fooling around with grsecurity's rbac and found out that } after each login I have a lot of logs about denied access } /usr/i686-pc-linux-gnu/ with parent '/bin/zsh' } } Why would zsh want execute gcc on login? It doesn't. It just wants to enter it into the hash table in case you execute it from the prompt later (or in case you attempt to complete it). The users for whom this is a problem likely should not have the gcc-bin and binutils-bin directories in their $path in the first place.