From 85eb2f0fa5584753a3c66bc7f76373a5ae991074 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Tue, 4 May 2021 18:57:10 +0200 Subject: [PATCH] fix: dev: typo !minor Signed-off-by: Valentin Lab --- rsync-backup-target/build/Dockerfile | 2 +- rsync-backup-target/build/entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rsync-backup-target/build/Dockerfile b/rsync-backup-target/build/Dockerfile index 5415bdc7..4e499d29 100644 --- a/rsync-backup-target/build/Dockerfile +++ b/rsync-backup-target/build/Dockerfile @@ -12,7 +12,7 @@ RUN mkdir -p /var/lib/rsync /var/log/rsync && \ adduser -S rsync -h /var/lib/rsync -G rsync && \ chown rsync:rsync /var/lib/rsync /var/log/rsync -## Without this, account is concidered locked by SSH +## Without this, account is considered locked by SSH RUN sed -ri 's/^rsync:!:/rsync:*NP*:/g' /etc/shadow ## Withouth this, force-command will not run diff --git a/rsync-backup-target/build/entrypoint.sh b/rsync-backup-target/build/entrypoint.sh index 3966cf3f..e29276dd 100755 --- a/rsync-backup-target/build/entrypoint.sh +++ b/rsync-backup-target/build/entrypoint.sh @@ -26,7 +26,7 @@ if ! egrep '^[^:]+:x:101:101:' /etc/passwd; then echo "Error: couldn't create user $user or chown '$user_dir'." >&2 exit 1 } - ## Without this, account is concidered locked by SSH + ## Without this, account is considered locked by SSH sed -ri "s/^$user:\!:/$user:*NP*:/g" /etc/shadow ## Withouth this, force-command will not run