From: Ian Kelling Date: Mon, 18 Jan 2016 05:25:47 +0000 (-0800) Subject: allow ssh to root for unison X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=019b7e5971ba8fd5fe45daad02a25180392e9429;p=automated-distro-installer allow ssh to root for unison --- diff --git a/fai/config/scripts/GRUB_PC/11-ian b/fai/config/scripts/GRUB_PC/11-ian index 24a10ae..18c51ff 100755 --- a/fai/config/scripts/GRUB_PC/11-ian +++ b/fai/config/scripts/GRUB_PC/11-ian @@ -9,6 +9,8 @@ $ROOTCMD usermod -p "$ROOTPW" ian /var/lib/fai/config/distro-install-common/end fcopy -r -m 1000,1000,700 -i /home/ian/.ssh +cp -ar $target/home/ian/.ssh $target/root +chown -R root:root $target/root/.ssh # the defaults in wheezy $ROOTCMD usermod -aG cdrom,floppy,sudo,audio,dip,video,plugdev,netdev ian