diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-21 11:05:52 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-21 11:05:52 -0300 |
commit | b55a73bb258125c2ad86cf1138466b1973e86e04 (patch) | |
tree | 48bb28f4ade566b11e20967fa4415ac87df8c5eb | |
parent | 1b1dd20b7755ec5993dff36ef935b4d68d7b79bd (diff) | |
download | kvmx-b55a73bb258125c2ad86cf1138466b1973e86e04.tar.gz kvmx-b55a73bb258125c2ad86cf1138466b1973e86e04.tar.bz2 |
Updates insecure_private_key.pub path at kvmx-create
-rwxr-xr-x | kvmx-create | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmx-create b/kvmx-create index 49c6e49..d06c2b4 100755 --- a/kvmx-create +++ b/kvmx-create @@ -241,7 +241,7 @@ function kvmx_create_custom { kvmx_sudo_run chroot $WORK/ useradd user -G sudo -s /bin/bash kvmx_sudo_run chroot $WORK/ mkdir -p /home/user/.ssh kvmx_sudo_run chroot $WORK/ chmod 700 /home/user/.ssh - kvmx_sudo_run cp $DIRNAME/ssh/insecure_private_key.pub $WORK/home/user/.ssh/authorized_keys + kvmx_sudo_run cp $DIRNAME/share/ssh/insecure_private_key.pub $WORK/home/user/.ssh/authorized_keys kvmx_sudo_run chroot $WORK/ chmod 600 /home/user/.ssh/authorized_keys kvmx_sudo_run touch $WORK/home/user/.hushlogin kvmx_sudo_run chroot $WORK/ chown -R user.user /home/user |