iankelling.org
/
git
/
automated-distro-installer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
308487a
)
allow ssh to root for unison
author
Ian Kelling
<ian@iankelling.org>
Mon, 18 Jan 2016 05:25:47 +0000
(21:25 -0800)
committer
Ian Kelling
<ian@iankelling.org>
Mon, 6 Feb 2017 06:21:40 +0000
(22:21 -0800)
fai/config/scripts/GRUB_PC/11-ian
patch
|
blob
|
history
diff --git
a/fai/config/scripts/GRUB_PC/11-ian
b/fai/config/scripts/GRUB_PC/11-ian
index 24a10ae6f476dfba44a332f0c22f8aaac76cdd1a..18c51ff9b673f9fd657aa58cf2397e46bc0be647 100755
(executable)
--- 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