|
@ -12,7 +12,7 @@ RUN mkdir -p /var/lib/rsync /var/log/rsync && \ |
|
|
adduser -S rsync -h /var/lib/rsync -G rsync && \ |
|
|
adduser -S rsync -h /var/lib/rsync -G rsync && \ |
|
|
chown rsync:rsync /var/lib/rsync /var/log/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 |
|
|
RUN sed -ri 's/^rsync:!:/rsync:*NP*:/g' /etc/shadow |
|
|
|
|
|
|
|
|
## Withouth this, force-command will not run |
|
|
## Withouth this, force-command will not run |
|
|