Do not forget to edit the above file to suit your needs.Īdd the vsftpd user to the /etc/erlist file to give FTP access using the command. Once the backup is in place, Open the nf file # sudo vim /etc/nfĪdd the following lines to the open file listen=NO before anything else, it’s always a good idea to create a backup of the original config file # sudo cp /etc/nf /etc/ With the FTP user and directory in place, we need to configure VSFTPD service. # sudo chown vsftp:vsftp /home/vsftp/ftp/test # sudo chown nobody:nogroup /home/vsftp/ftpĬreate a directory where the files will be uploaded and ownership given to the VSFTPD user # sudo mkdir /home/vsftp/ftp/test Next, create an FTP directory and adjust the file ownership as follows # sudo mkdir /home/vsftp/ftp Therefore, the command will be: # sudo adduser vsftp We will create a new user called ‘vsftp’ for demonstration purposes. With VSFTPD installed, we are now going to add a user account. Step 2: Creating the Directory Structure for FTP To install vsftpd, execute the command: # sudo apt-get install vsftpd –yĪfter the installation start VSFTPD service by enabling it to start on boot time # sudo systemctl start vsftpd ![]() The default repository has the VSFTPD files available making installation a straight forward.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |