mirror of
https://github.com/luzifer-docker/sftp-share.git
synced 2024-12-20 22:11:16 +00:00
Looks like sftp needs valid shell
This commit is contained in:
parent
32feba1013
commit
1377d15786
1 changed files with 1 additions and 1 deletions
2
start.sh
2
start.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue