Looks like sftp needs valid shell

This commit is contained in:
Knut Ahlers 2014-11-16 17:09:05 +01:00
parent 32feba1013
commit 1377d15786

View file

@ -7,6 +7,6 @@ if ( id ${USER} ); then
exit 1
fi
useradd -d /data -m -p ${ENC_PASS} -u 1000 -s /bin/false ${USER}
useradd -d /data -m -p ${ENC_PASS} -u 1000 -s /bin/sh ${USER}
exec /usr/sbin/sshd -D