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

add default chroot security #22

Merged
merged 3 commits into from
Mar 17, 2021
Merged

add default chroot security #22

merged 3 commits into from
Mar 17, 2021

Conversation

TrueOsiris
Copy link
Contributor

I believe this should be the default setup for vsftpd

chroot_local_user=YES
allow_writeable_chroot=YES (this option is not in the .conf file by default, and its default is "NO")

This will inhibit users to escape their home directory.
Of course, there are several ways to setup vsftpd, but this would be the most secure starting point, imho.

…andard security:\nchroot_local_user=YES\nallow_writeable_chroot=YES
…andard security: chroot_local_user=YES and allow_writeable_chroot=YES
@delfer
Copy link
Owner

delfer commented Mar 17, 2021

LGTM!
Thank you @TrueOsiris!

@delfer delfer merged commit 1ec7550 into delfer:master Mar 17, 2021
@delfer
Copy link
Owner

delfer commented Mar 23, 2021

Reverted because of regression #23

mythfish added a commit to rigoiot/docker-alpine-ftp-server that referenced this pull request Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants