From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7028 invoked by alias); 17 Mar 2012 02:18:52 -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: 16899 Received: (qmail 7712 invoked from network); 17 Mar 2012 02:18:51 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at sergio.spb.ru designates 195.70.199.109 as permitted sender) Message-ID: <4F63ECD7.3040109@sergio.spb.ru> Date: Sat, 17 Mar 2012 05:45:59 +0400 From: sergio User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20120125 Icedove/9.0.1 MIME-Version: 1.0 To: zsh-users@zsh.org Subject: root's path Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello. How zsh sets root's $path (and $PATH)? bash uses /etc/profile, for sudo completion there are /etc/zsh/zshrc and $PATH for non root is in /etc/zsh/zshenv. But I can't find root path anywhere. I have one machine on which path for root not changed: % =sudo ifconfig sudo: ifconfig: command not found % =sudo -s # echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games # What should I check? -- sergio.