Free Hosting Online for WorkStations

< Previous | Contents | Next >

1.3. User Authenticated FTP Configuration


By default vsftpd is configured to authenticate system users and allow them to download files. If you want users to be able to upload files, edit /etc/vsftpd.conf:


write_enable=YES


Now restart vsftpd:


sudo systemctl restart vsftpd.service


Now when system users login to FTP they will start in their home directories where they can download, upload, create directories, etc.


Similarly, by default, anonymous users are not allowed to upload files to FTP server. To change this setting, you should uncomment the following line, and restart vsftpd:


anon_upload_enable=YES


Enabling anonymous FTP upload can be an extreme security risk. It is best to not enable anonymous upload on servers accessed directly from the Internet.


The configuration file consists of many configuration parameters. The information about each parameter is available in the configuration file. Alternatively, you can refer to the man page, man 5 vsftpd.conf for details of each parameter.


Top OS Cloud Computing at OnWorks: