Page 183 - DCAP106_OPERATING_SYSTEM_TOOLS
P. 183
Operating System Tools
Notes 10.2.1 Installing and Configuring FTP Server using vsftpd
In this section, we will discuss the concept of vsftpd – FTP Server Installation and configuration.
vsftpd - FTP Server Installation
vsftpd is an FTP daemon accessible in Ubuntu. It is easy to install, set up, and maintain. To install
vsftpd you can run the following command:
sudo apt-get install vsftpd
vsftpd - FTP Server Configuration
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.
Did u know? vsftpd supports IPv6, SSL, locking users to their home directories and many
other advanced features.
vsftpd Features
VSFTPD offer security, performance and constancy over other servers. A quick list of vsftpd
features:
z z Virtual IP configurations
z z Virtual users
176 LOVELY PROFESSIONAL UNIVERSITY