Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2023 04:44:17 +0100
From:      Jamie Landeg-Jones <jamie@catflap.org>
To:        mike@karels.net, jamie@catflap.org
Cc:        grahamperrin@gmail.com, freebsd-current@FreeBSD.org
Subject:   Re: etcupdate -B, /.cshrc and /.profile
Message-ID:  <202308230344.37N3iHJF032842@donotpassgo.dyslexicfish.net>
In-Reply-To: <563EEA5B-0624-4EB3-BCB3-DD8A8F57C3A9@karels.net>
References:  <ad0c7ea1-e44b-1748-1589-8e9f2f0a25fd@gmail.com> <202308230237.37N2brSh029907@donotpassgo.dyslexicfish.net> <563EEA5B-0624-4EB3-BCB3-DD8A8F57C3A9@karels.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Karels <mike@karels.net> wrote:

> Both sets have been present since 4.3-Reno in 1990, although they were
> apparently not links.

Well before my time!
>
> > Removing them both is one of the first things I do when I install a new
> > system from install-media.
>
> Why?

Because I don't use them

> > If etcupdate is now removing them, maybe there has been an update to the src
> > distribution / mntree so that this historical weirdness has finally been removed?
>
> It is not weird.  /.profile and /.cshrc are used in single-user mode, the ones
> in /root are used for root logins.

Ah yeah, that would make sense, I guess. I remember my first unix systems,
the default home for the root login was / so there was no /root duplication of
those files.

> > If you have a /root/.cshrc and /root/.profile, try doing an ls -c on them to
> > see if their changed-date is when you did the etcupdate.
>
> They were modified by the removal of $FreeBSD$ a few days ago at the next
> etcupdate.

Ahhhh. That idea won't work then!

Cheers



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