Fix vsftpd not starting
This commit is contained in:
@ -9,5 +9,6 @@ ProtectControlGroups=true
|
||||
LockPersonality=true
|
||||
MemoryDenyWriteExecute=true
|
||||
SystemCallArchitectures=native
|
||||
InaccessiblePaths=/var/www/
|
||||
InaccessiblePaths=/root/
|
||||
InaccessiblePaths=-/var/www/
|
||||
InaccessiblePaths=-/root/
|
||||
ReadWritePaths=-/run/
|
||||
|
@ -140,7 +140,7 @@ chroot_local_user=YES
|
||||
# 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
|
||||
# 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.
|
||||
pam_service_name=vsftpd
|
||||
|
Reference in New Issue
Block a user