![]() The default configuration file for vsftpd is the /etc/vsftpd/nf file. Further adjustments are necessary for Vsftpd to allow users access to the server. So far, we have managed to install and confirm that vsftpd is up and running. $ sudo bash -c 'echo ftpuser > /etc/vsftpd/user_list' Step 3) Configure vsftpd via its configuration file We also need to add the FTP user to the /etc/vsftpd/user_list file to allow the user access to the vsftp server. $ sudo chown -R ftpuser: /home/ftpuser/ftp_dir $ sudo chmod -R 750 /home/ftpuser/ftp_dir With the FTP user in place, we will proceed and create the FTP directory and assign the following permissions and directory ownership. In this case, the user will be ftpuser but feel free to give your user a name of your choice. Next, we will create a user that we will use to access the FTP server. Step 2) Create a ftp user and its directory If you see the “ active: (running)” directive in green as indicated on the terminal, then the vsftpd service is up and running. To verify the status of vsftpd on your system, run: $ sudo systemctl status vsftpd To achieve this, run the command $ sudo systemctl enable vsftpd -now You may also want to enable it to start automatically upon a reboot. To start the vsftpd service, run the command: $ sudo systemctl start vsftpd With vsftpd installed, we need it running to facilitate access to file shares. This will print additional information on the screen such as the Architecture, install date, license and signature to mention a few. To retrieve more detailed information about Vsftpd, append the -i flag at the end as shown: $ rpm -qi vsftpd ![]() ![]() The output should tally with the version printed on the terminal upon successful installation. To confirm this, execute the following command: ~]$ rpm -q vsftpd The output indicates that we have installed vsftpd version 3.0.86_64. The output below confirms that vsftpd has been successfully installed. The installation takes a few seconds and will complete in no time. Press ‘ y’ and hit ENTER to get underway with the installation. To achieve this, we will run the command below: $ sudo dnf install vsftpd Right off the bat, we are going to install vsftpd.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |