{eval=Array;=+count(Array);}
sudo apt-get install vsftpd2. Once the installation is complete, open the vsftpd configuration file (/etc/vsftpd.conf) in a text editor. You can use the following command to open the file in the nano editor:
sudo nano /etc/vsftpd.conf3. In the configuration file, find the line that says "anonymous_enable=YES" and change it to "anonymous_enable=NO" to disallow anonymous access. 4. Uncomment the line that says "write_enable=YES" to allow users to upload files to the FTP server. 5. Add the following lines to the end of the configuration file to allow local users to access the FTP server:
local_enable=YES chroot_local_user=YES6. Save and close the configuration file. 7. Restart the vsftpd service by running the following command:
sudo service vsftpd restartThat"s it! You should now be able to access your FTP server using an FTP client and the credentials of a local user on your Linux machine.
0
回答0
回答0
回答0
回答0
回答0
回答0
回答0
回答0
回答0
回答