FTP not connecting giving errors in CentOS

1) Check if selinux is disabled
# getenforce

If it shows enforcing, then selinux is restricting the service. Disable it with
# setenforce 1

To disable selinux permanently
# vi /etc/sysconfig/selinux
SELINUX=enforcing
change it to
SELINUX=disabled

2) Add this line in /etc/vsftpd/vsftpd.conf
chroot_local_user=YES
  • 0 Los Usuarios han Encontrado Esto Útil
¿Fue útil la respuesta?

Artículos Relacionados

Restricting FTP user from climbing back to /home

1) Edit vsftpd.conf 2) unhash chroot_local_user=YES

Error when browsing phpinfo.php warning : phpinfo() has been disabled for security reasons

You have added phpinfo in the disabled functions in your php.ini Ssh to your server and...

Uploaded files of FTP shows 600 instead of 644

vi /etc/vsftpd.con localumask=022 /etc/init.d/vsftpd restart

Dig command is not working

Use this command to install dig command. # apt-get install dnsutils

Qmail is giving error messge 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

If you receive message 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) it...

Powered by WHMCompleteSolution