Page 251 - DCAP602_NETWORK_OPERATING_SYSTEMS_I
P. 251
Unit 13: FTP Server
vsftpd – FTP Server Configuration notes
You can edit the vsftpd configuration file, /etc/vsftpd.conf, to modify the default settings. By
default only anonymous FTP is allowed. If you wish to disable this option, you should change
the following line:
anonymous_enable=YES
to
anonymous_enable=NO
By default, local system users are not permitted to login to FTP server. To change this setting, you
should uncomment the following line:
#local_enable=YES
By default, users are allowed to download files from FTP server. They are not allowed to upload
files to FTP server. To modify this setting, you should uncomment the following line:
#write_enable=YES
Also, by default, the anonymous users are not allowed to upload files to FTP server. To change
this setting, you should uncomment the following line:
#anon_upload_enable=YES
The configuration file consists of many configuration parameters. The information about each
parameter is exists in the configuration file. Alternatively, you can refer to the man page, man 5
vsftpd.conf for details of each parameter.
Once you configure vsftpd you can start the daemon. You can run following command to run
the vsftpd daemon:
sudo /etc/init.d/vsftpd start
vsftpd (Very Secure FTP Daemon) is an FTP server for UNIX-like systems, as well as CentOS /
RHEL / Fedora and other Linux distributions. It supports IPv6, SSL, locking users to their home
directories and many other advanced features.
!
Caution You can edit the vsftpd configuration file, /etc/vsftpd.conf, to modify the
default settings.
vsftpd features
VSFTPD offer security, performance and constancy over other servers. A quick list of vsftpd
features:
1. Virtual IP configurations
2. Virtual users
3. Run as standalone or inetd / xinetd operation
4. Per-user configuration
5. Bandwidth throttling
6. Per-source-IP configurability
7. Per-source-IP limits
LoveLy professionaL university 245