docker-pure-ftpd
docker-pure-ftpd copied to clipboard
Multiple users
hi,
how can i add multiple users?
i want add near 10 users/password for my customers to www folder.
thanks?
Hi @prsolucoes
You should be able to add as many users as you like, exec into the running container and use the pure-pw
command to add each user, see here for an example:
https://github.com/stilliard/docker-pure-ftpd#example-usage-once-inside
Hope this helps.
It can only be done inside? I'd love to be able to have users like -e USERS=bob:12345;john:doe
e.g.
@mr-bjerre currently only available inside the container, but you can fork this repo and change the run.sh file to set them up for you.
Alternatively, if you'd like you could investigate how we could support multiple, maybe passing details in a csv style format or something. If it works you can submit a pull request back to the project and I'd be happy to take a look :)
Sure - I just always struggle writing "complicated" bash scripts. There is some inspiration to draw from atmoz/sftp though, i.e. from entrypoint and create-sftp-user.