On Mon, May 29, 2017 at 07:16:06PM -0400, trondd wrote:
> On Mon, May 29, 2017 5:47 pm, Erling Westenvik wrote:
> > What is going on? Why is the process extracting siteXX.tgz
> > treating /mnt/home/user/.ssh different than /mnt/root/.ssh?
>
> You didn't really explain the failure case.  Is this a new install or an
> upgrade?  Does your site file simply have the file
> /home/user/.ssh/authorized_keys in it or are you doing the cat command as
> you illustrated?

Sorry. New install via pxeboot. Amd64. Current. Yes, siteXX.tgz has the
file.

> My guess is this is an install.  The installer seems to unpack the sets
> first.  Including the site taball.  Then, if you created a new user,
> copies the /etc/skel/ files over, overwriting your authorized_keys file.
> You'll need to use install.site or /etc/rc.firsttime
>
> Root is different because root's files are part of the distribution sets.

Makes sense. Though, https://www.openbsd.org/faq/faq4.html#site claims
that siteXX.tgz «is installed last, so it can be used to complement and
modify the files from a default install».

I'll have a look into install.site.

Thanks a lot.

Erling

Reply via email to