How to Configure SELinux for Vsftpd
SELinux controls how The Very Secure FTP Daemon works with your Linux server. By default, SELinux allows only anonymous connections and blocks access to user home directories. If you want your users to log in with their own credentials and to have access to their home directories, configure SELinux to allow it.
Instructions
-
-
1
Connect to your server as the root user using a secure shell client.
-
2
Type "vi /etc/vsftpd/vsftpd.conf" and press "Enter" to open the vsftpd configuration file. Remove the "#" before "local_enable=YES." Save and close the file.
-
-
3
Type "setsebool -P ftp_home_dir=1" and press "Enter." SELinux is now configured to allow users to log in and access their home directories.
-
1