Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
root's path
- X-seq: zsh-users 16899
- From: sergio <mailbox@xxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: root's path
- Date: Sat, 17 Mar 2012 05:45:59 +0400
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author