Documentation FTP server

1. Installation

sudo dnf install vsftpd -y

sudo systemctl enable vsftpd –now

I have checked that it is active:

sudo systemctl status vsftpd

sudo ss -tuln | grep :21

2. Configuration

In the file /etc/vsftpd/vsftpd.conf I touched these options:

local_enable=YES # Allow local users

write_enable=YES # Allow uploading files

chroot_local_user=YES # Log users to your home

anonymous_enable=NO # Do not allow anonymous entries

With this users can enter their directory and work with their files.

3. users

I have not created new users.
I used the ones I already had for Samba:

They all have their own folder a /home.

4. Test that it works

I used one of these users (brayan) i he provat:

  • To go out

bye

Esta web utiliza cookies propias y de terceros para su correcto funcionamiento y para fines analíticos. Contiene enlaces a sitios web de terceros con políticas de privacidad ajenas que podrás aceptar o no cuando accedas a ellos. Al hacer clic en el botón Aceptar, acepta el uso de estas tecnologías y el procesamiento de tus datos para estos propósitos.
Privacidad