diff --git a/installer/late.sh b/installer/late.sh index 3c41081..60b0b3e 100755 --- a/installer/late.sh +++ b/installer/late.sh @@ -35,6 +35,7 @@ mkdir -p "${prefix}/root/.ssh" chmod 700 "${prefix}/root/.ssh" cp -a "/cdrom/configs/authorized_keys" "${prefix}/root/.ssh/authorized_keys" chmod 640 "${prefix}/root/.ssh/authorized_keys" +chown "0:0" "${prefix}/root/.ssh/authorized_keys" # authorize ssh keys for admin user mkdir -p "${prefix}/home/${admin}/.ssh" chmod 700 "${prefix}/home/${admin}/.ssh"