summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hosts/alsvid2006
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/alsvid200 b/hosts/alsvid200
index ab3d9ec..cd93f76 100644
--- a/hosts/alsvid200
+++ b/hosts/alsvid200
@@ -171,7 +171,7 @@ do_postinst()
http://product-files.libiquity.com/taurinus/boot-splash/x200/background.png
# Use temporary configuation SSH key.
- install -d -o pj -g pj -m 0700 "${target}/home/pj/.ssh" || return 1
+ install -d -o 1000 -g 1000 -m 0700 "${target}/home/pj/.ssh" || return 1
cat >"${target}/home/pj/.ssh/id_rsa" <<-EOF
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQCzAF0zqeS2X0TuVOIxqMec3lMzZy/MHQswPP+BQkmc2D3YVb2x
@@ -230,9 +230,9 @@ do_postinst()
# Generate target's SSH keypair.
rm -f "${target}/home/pj/.ssh/id_rsa" \
"${target}/home/pj/.ssh/id_rsa.pub" || return 1
- install -o pj -g pj -m 0600 '/home/pj/.ssh/id_rsa' \
+ install -o 1000 -g 1000 -m 0600 '/home/pj/.ssh/id_rsa' \
"${target}/home/pj/.ssh/id_rsa" || return 1
- install -o pj -g pj -m 0600 '/home/pj/.ssh/id_rsa.pub' \
+ install -o 1000 -g 1000 -m 0600 '/home/pj/.ssh/id_rsa.pub' \
"${target}/home/pj/.ssh/id_rsa.pub" || return 1
#in_target ssh-keygen -b 4096 -C pj@alsvid200 -t rsa \
# -f /home/pj/.ssh/id_rsa </dev/null || return 1