Ricomincio cercando di essere più chiaro e fornendo tutte le informaizoni.
Un server in cui è presente centos 7.4 (non configurato da me, ma già troavato installato il sistema operativo) sto cercando installare vsftpd, ho seguito questa guida
https://www.liquidweb.com/kb/how-to-install-and-configure-vsftpd-on-centos-7/per l'installazione. Ho provato a collegarmi tramite filezilla ad un utente precedentemente creato, ma l'errore che ricevevo era questo 500 OOPS: cannot locate user entry:ftpsecure.
con un po di ricerca online e vari tentativi di configurazione (per ogni valore cambiato ho sempre riavviato vsftpd) sono arrivato a questa configurazione. Ora filezilla si collega senza errori, ma non vedo nessun file in elenco (anche se sono presenti)
Configurazione file /etc/vsftpd/vsftpd.confanonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
pam_service_name=vsftpd
connect_from_port_20=YES
listen=YES
xferlog_std_format=NO
log_ftp_protocol=YES
chroot_local_user=YES
allow_writeable_chroot=YES
pasv_enable=NO
xferlog_enable=YES
xferlog_file=/var/log/xferlog.log
xferlog_std_format=YES
vsftpd_log_file=/var/log/vsftpd.log
dual_log_enable=YES
contenuto log da accesso filezillaThu Oct 19 12:09:20 2017 [pid 35538] CONNECT: Client "192.168.10.254"
Thu Oct 19 12:09:20 2017 [pid 35538] FTP response: Client "192.168.10.254", "220 (vsFTPd 3.0.2)"
Thu Oct 19 12:09:20 2017 [pid 35538] FTP command: Client "192.168.10.254", "AUTH TLS"
Thu Oct 19 12:09:20 2017 [pid 35538] FTP response: Client "192.168.10.254", "530 Please login with USER and PASS."
Thu Oct 19 12:09:20 2017 [pid 35538] FTP command: Client "192.168.10.254", "AUTH SSL"
Thu Oct 19 12:09:20 2017 [pid 35538] FTP response: Client "192.168.10.254", "530 Please login with USER and PASS."
Thu Oct 19 12:09:21 2017 [pid 35538] FTP command: Client "192.168.10.254", "USER utente_di_login"
Thu Oct 19 12:09:21 2017 [pid 35538] [utente_di_login] FTP response: Client "192.168.10.254", "331 Please specify the password."
Thu Oct 19 12:09:21 2017 [pid 35538] [utente_di_login] FTP command: Client "192.168.10.254", "PASS <password>"
Thu Oct 19 12:09:21 2017 [pid 35537] [utente_di_login] OK LOGIN: Client "192.168.10.254"
Thu Oct 19 12:09:21 2017 [pid 35542] [utente_di_login] FTP response: Client "192.168.10.254", "230 Login successful."
Thu Oct 19 12:09:21 2017 [pid 35542] [utente_di_login] FTP command: Client "192.168.10.254", "OPTS UTF8 ON"
Thu Oct 19 12:09:21 2017 [pid 35542] [utente_di_login] FTP response: Client "192.168.10.254", "200 Always in UTF8 mode."
Thu Oct 19 12:09:21 2017 [pid 35542] [utente_di_login] FTP command: Client "192.168.10.254", "PWD"
Thu Oct 19 12:09:21 2017 [pid 35542] [utente_di_login] FTP response: Client "192.168.10.254", "257 "/""
ho provato a collegarmi tramite console di linux attraverso questi comandi
Accesso tramite pacchetto ftp di linuxftp 192.168.10.17
Connected to 192.168.10.17 (192.168.10.17).
220 (vsFTPd 3.0.2)
Name (192.168.10.17:atanet): utente_di_login
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
550 Permission denied.
Passive mode refused.
Contenuto del file di log con comando ftpThu Oct 19 12:18:22 2017 [pid 35709] CONNECT: Client "192.168.10.17"
Thu Oct 19 12:18:22 2017 [pid 35709] FTP response: Client "192.168.10.17", "220 (vsFTPd 3.0.2)"
Thu Oct 19 12:18:28 2017 [pid 35709] FTP command: Client "192.168.10.17", "USER utente_di_login"
Thu Oct 19 12:18:28 2017 [pid 35709] [utente_di_login] FTP response: Client "192.168.10.17", "331 Please specify the password."
Thu Oct 19 12:18:31 2017 [pid 35709] [utente_di_login] FTP command: Client "192.168.10.17", "PASS <password>"
Thu Oct 19 12:18:34 2017 [pid 35708] [utente_di_login] OK LOGIN: Client "192.168.10.17"
Thu Oct 19 12:18:34 2017 [pid 35713] [utente_di_login] FTP response: Client "192.168.10.17", "230 Login successful."
Thu Oct 19 12:18:34 2017 [pid 35713] [utente_di_login] FTP command: Client "192.168.10.17", "SYST"
Thu Oct 19 12:18:34 2017 [pid 35713] [utente_di_login] FTP response: Client "192.168.10.17", "215 UNIX Type: L8"
Thu Oct 19 12:18:36 2017 [pid 35713] [utente_di_login] FTP command: Client "192.168.10.17", "PASV"
Thu Oct 19 12:18:36 2017 [pid 35713] [utente_di_login] FTP response: Client "192.168.10.17", "550 Permission denied."
Thu Oct 19 12:18:38 2017 [pid 35713] [utente_di_login] FTP command: Client "192.168.10.17", "QUIT"
Thu Oct 19 12:18:38 2017 [pid 35713] [utente_di_login] FTP response: Client "192.168.10.17", "221 Goodbye."
Spero di aver scritto tutto.
grazie.