Install and Setup VSFTPD in CentOS 6.5
Instal FTP and VSFTPD
$sudo yum install vsftpd ftp -y
$sudo setsebool -P ftp_home_dir on
$getsebool -a |grep ftp
allow_ftpd_anon_write --> off
allow_ftpd_full_access --> off
allow_ftpd_use_cifs --> off
allow_ftpd_use_nfs --> off
ftp_home_dir --> on ( Value changed from off into on )
ftpd_connect_db --> off
ftpd_use_fusefs --> off
ftpd_use_passive_mode --> off
httpd_enable_ftp_server --> off
tftp_anon_write --> off
tftp_use_cifs --> off
tftp_use_nfs --> off
Edit VSFTPD Configuration
$sudo nano /etc/vsftpd/vsftpd.conf
Set the value
anonymous_enable=NO
Uncomment these line
ascii_upload_enable=YES
ascii_download_enable=YES
chroot_local_user=YES
$sudo yum install vsftpd ftp -y
$sudo setsebool -P ftp_home_dir on
$getsebool -a |grep ftp
allow_ftpd_anon_write --> off
allow_ftpd_full_access --> off
allow_ftpd_use_cifs --> off
allow_ftpd_use_nfs --> off
ftp_home_dir --> on ( Value changed from off into on )
ftpd_connect_db --> off
ftpd_use_fusefs --> off
ftpd_use_passive_mode --> off
httpd_enable_ftp_server --> off
tftp_anon_write --> off
tftp_use_cifs --> off
tftp_use_nfs --> off
Edit VSFTPD Configuration
$sudo nano /etc/vsftpd/vsftpd.conf
Set the value
anonymous_enable=NO
Uncomment these line
ascii_upload_enable=YES
ascii_download_enable=YES
chroot_local_user=YES
Komentar
Posting Komentar