[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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: