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

Re: AW: One more



On Monday 25 September 2006 16:59, Jim Watson wrote:
> 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

Thats how I thought it was in debian, thanks for the confirmation jim.
hamish



Reply to: