Fix vsftpd not starting

This commit is contained in:
Daniel Winzen
2020-02-05 19:26:35 +01:00
parent f814c67e3f
commit 1b28fcac95
2 changed files with 4 additions and 3 deletions

View File

@ -9,5 +9,6 @@ ProtectControlGroups=true
LockPersonality=true LockPersonality=true
MemoryDenyWriteExecute=true MemoryDenyWriteExecute=true
SystemCallArchitectures=native SystemCallArchitectures=native
InaccessiblePaths=/var/www/ InaccessiblePaths=-/var/www/
InaccessiblePaths=/root/ InaccessiblePaths=-/root/
ReadWritePaths=-/run/

View File

@ -140,7 +140,7 @@ chroot_local_user=YES
# directory should not be writable by the ftp user. This directory is used # directory should not be writable by the ftp user. This directory is used
# as a secure chroot() jail at times vsftpd does not require filesystem # as a secure chroot() jail at times vsftpd does not require filesystem
# access. # access.
secure_chroot_dir=/var/run/vsftpd/empty secure_chroot_dir=/run/vsftpd/empty
# #
# This string is the name of the PAM service vsftpd will use. # This string is the name of the PAM service vsftpd will use.
pam_service_name=vsftpd pam_service_name=vsftpd