Vsftpd setting in HC Linux

Question: How to configure Vsftpd in HC Linux?

Solution:
To resolve this problem disallow anonymous user access in vsftpd.conf.

The original configuration file for vsftpd is perfectly suited to a secure anonymous FTP server and makes a good basis to start customizing. It should be backed up to ensure any errors; it can be restored quickly from a known good file.

# cp /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.original
# vi /etc/vsftpd/vsftpd.conf

Anonymous Users:
The default setting for allowing anonymous users is YES. To disable anonymous access it is not enough to comment out the following parameter, it MUST be changed to NO, otherwise anonymous still has access.
anonymous_enable=YES
anonymous_enable=NO

Now, Restart the service for the changes to take effect, with following command:

/etc/init.d/vsftpd restart
or
service vsftpd restart


Related KB Article (HC Linux: FTP Users are unable to login )

Add Feedback