zsh-users
 help / color / mirror / code / Atom feed
* root's path
@ 2012-03-17  1:45 sergio
  2012-03-17  4:44 ` Benjamin R. Haskell
       [not found] ` <alpine.LNX.2.01.1203170040230.18133__19065.733991056$1331959656$gmane$org@hp.internal>
  0 siblings, 2 replies; 9+ messages in thread
From: sergio @ 2012-03-17  1:45 UTC (permalink / raw)
  To: zsh-users

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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-03-17 15:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-17  1:45 root's path sergio
2012-03-17  4:44 ` Benjamin R. Haskell
2012-03-17  8:58   ` sergio
     [not found] ` <alpine.LNX.2.01.1203170040230.18133__19065.733991056$1331959656$gmane$org@hp.internal>
2012-03-17 11:13   ` Christian Neukirchen
2012-03-17 11:21     ` Mikael Magnusson
2012-03-17 14:52       ` TJ Luoma
2012-03-17 14:54         ` Mikael Magnusson
2012-03-17 15:02           ` Mikael Magnusson
2012-03-17 15:33       ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).