Skip to content

Commit

Permalink
keys owner
Browse files Browse the repository at this point in the history
  • Loading branch information
nothub committed Nov 25, 2023
1 parent ab5aa09 commit 54cd635
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions installer/late.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 54cd635

Please sign in to comment.