diff options
Diffstat (limited to 'src/fripost-postinst-udeb/finish-install.d/07fripost')
-rwxr-xr-x | src/fripost-postinst-udeb/finish-install.d/07fripost | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fripost-postinst-udeb/finish-install.d/07fripost b/src/fripost-postinst-udeb/finish-install.d/07fripost index 2dfb98b..6b5d7b1 100755 --- a/src/fripost-postinst-udeb/finish-install.d/07fripost +++ b/src/fripost-postinst-udeb/finish-install.d/07fripost @@ -286,3 +286,7 @@ progress "Copying authorized_keys to ~$user/.ssh" [ -d /target"$home/.ssh" ] || mkdir -m0700 /target"$home/.ssh" copy_authorized_keys $import/authorized_keys /target"$home/.ssh/authorized_keys" chown -R "$ugid" /target"$home/.ssh" # Probably 1000:1000, but who knows + +# Enable ssh login for "$user" +/bin/in-target /usr/sbin/addgroup --system ssh-login +/bin/in-target /usr/sbin/adduser "$user" ssh-login |