root vertex su dottedmag home dottedmag bin bin usr bin usr local bin

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
root@vertex / # su - dottedmag
/z:/home/dottedmag/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/games
[dottedmag@vertex ~]$ echo $PATH
/z:/home/dottedmag/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/games
[dottedmag@vertex ~]$ tail /etc/profile
for f in /etc/profile.d/*.sh; do
if [ -f "$f" -a -r "$f" -a -x "$f" -a -s "$f" -a ! -L "$f" ]; then
. "$f"
fi
done
export PATH="/z:$PATH"
echo $PATH
unset f
[dottedmag@vertex ~]$