Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 1996 18:47:41 -0800 (PST)
From:      "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        bde@zeta.org.au, freebsd-current@FreeBSD.org, joerg_wunsch@uriah.heep.sax.de
Subject:   Re: 2.2-960226-SNAP now on ftp.freebsd.org
Message-ID:  <199603200247.SAA21958@GndRsh.aac.dev.com>
In-Reply-To: <199603200228.NAA13275@godzilla.zeta.org.au> from "Bruce Evans" at Mar 20, 96 01:28:43 pm

next in thread | previous in thread | raw e-mail | index | archive | help

> 
> >> >/.profile is a hardlink to /root/.profile.
> 
> >It is very handy when booted single user as the root shell in that
> >case has a home directory of / instead of /root.  I am pretty sure
> >that was the reason that CSRG added this link when they moved root's
> >home directory from / to /root.
> 
> Why didn't they set HOME=/root?

You mean to have the kernel set this before it execs /bin/sh, I suppose
you could do that.

> >> The system-wide profile /etc/profile isn't installed.  It should be
> >> installed and contain only comments in it, like /etc/csh.login.
> 
> >WHAT???:
> >SkyRsh# ls -lag /etc/prof*
> >-rw-r--r--  1 root  wheel  570 Mar 16 16:03 /etc/profile
> 
> Oops.  I must have been looking at the Lite2 part of the diff.
> 
> >> Perhaps something like /etc/csh.cshrc should be implemented using
> >> $ENV.
> 
> >Oh, you mean it is not used by /bin/sh???
> 
> /bin/sh certainly doesn't source csh files.

I meant that /bin/sh does not read /etc/profile, is that what you are
talking about.


-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                 Reliable computers for FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603200247.SAA21958>