Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple users #136

Open
paulocoutinhox opened this issue Jun 15, 2020 · 4 comments
Open

Multiple users #136

paulocoutinhox opened this issue Jun 15, 2020 · 4 comments

Comments

@paulocoutinhox
Copy link

hi,

how can i add multiple users?

i want add near 10 users/password for my customers to www folder.

thanks?

@stilliard
Copy link
Owner

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.

@NixBiks
Copy link

NixBiks commented Jun 25, 2020

It can only be done inside? I'd love to be able to have users like -e USERS=bob:12345;john:doe e.g.

@stilliard
Copy link
Owner

@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 :)

@NixBiks
Copy link

NixBiks commented Jun 25, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants