Re: siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file

2017-05-31 Thread Theo Buehler
> >How about not overwriting already existing files? > > > >Index: install.sub > >=== > >RCS file: /var/cvs/src/distrib/miniroot/install.sub,v > >retrieving revision 1.1011 > >diff -u -p -r1.1011 install.sub > >--- install.sub 28

Re: siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file

2017-05-30 Thread Alexander Hall
On May 30, 2017 3:37:05 AM GMT+02:00, Theo Buehler wrote: >From: Theo Buehler >Cc: >Bcc: >Subject: Fwd: siteXX.tgz with /home/user/.ssh/authorized_keys results >in empty > file >Reply-To: >In-Reply-To: > > >On Mon, May 29, 2017 at 07:16:06PM -0400, trondd wr

Re: siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file

2017-05-30 Thread Erling Westenvik
On Tue, May 30, 2017 at 03:37:05AM +0200, Theo Buehler wrote: > Populating the $ADMIN's $_home with some files from siteXX.tgz looks > like a legitimate use case to me, especially for authorized_keys, but > also for the dotfiles in /etc/skel. That was my intuitive (and somewhat limited) understand

Re: siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file

2017-05-29 Thread Theo Buehler
From: Theo Buehler Cc: Bcc: Subject: Fwd: siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file Reply-To: In-Reply-To: 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 th

Re: siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file

2017-05-29 Thread trondd
Site is installed last *of the sets*, not the last thing that happens. And the user is created after the sets are extracted, also. The *.site scripts are run nearly last (close enough, that it doesn't matter).

Re: siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file

2017-05-29 Thread Erling Westenvik
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 n

Re: siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file

2017-05-29 Thread trondd
On Mon, May 29, 2017 5:47 pm, Erling Westenvik wrote: > everything is okay. > > What is going on? Why is the process extracting siteXX.tgz > treating /mnt/home/user/.ssh different than /mnt/root/.ssh? > > *continues scratching head* > > Cheers. > Erling. > You didn't really explain the failure ca

siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file

2017-05-29 Thread Erling Westenvik
Scratching my head here. I have a site61.tgz file that successfully gets selected during install and creates a bunch of directories and files (including /root/.ssh/authorized_keys), but for some reason /home/user/.ssh/authorized_keys ends up empty. After install and before reboot: # cd /mnt #