Re: AW: One more
On 25/09/2006, at 4:33 PM, Hamish Greig wrote:
default install either has an /etc/profile with logic to detect
root and add
*/sbin/* or a root profile in /root/* ?
debian/unstable updated yesterday...
/etc/profile:
if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/
bin:/usr/bin/X11"
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
fi
~/.profile invokes ~/.bashrc, neither has any PATH
jim
Reply to:
- References:
- One more
- From: "Jurzitza, Dieter" <DJurzitza@harmanbecker.com>
- Re: One more
- From: Hendrik Sattler <post@hendrik-sattler.de>
- AW: One more
- From: "Jurzitza, Dieter" <DJurzitza@harmanbecker.com>
- Re: AW: One more
- From: Hamish Greig <hgreig@bigpond.net.au>