Fix vsftpd not starting
This commit is contained in:
@ -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/
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user