mirror of
https://github.com/luzifer-docker/sftp-share.git
synced 2024-12-20 14:01:16 +00:00
Ensure uid
This commit is contained in:
parent
40486809ca
commit
aa09cd0eba
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} -s /bin/false ${USER}
|
||||
useradd -d /data -m -p ${ENC_PASS} -u 1000 -s /bin/false ${USER}
|
||||
|
||||
exec /usr/sbin/sshd
|
||||
|
|
Loading…
Reference in a new issue