Jump to Navigation

136 - Enable ftp on RedHat OS

Starting with the Red Hat Enterprise Linux (and in CentOS Enterprise Linux), the FTP server is no longer available with xinetd.
It has been replaced with vsftp and can be started from /etc/init.d/vsftpd as in the following:

# /etc/init.d/vsftpd start

Starting vsftpd for vsftpd:         [ OK ]

If you want the vsftpd service to start and stop when recycling (rebooting) the machine, you can create the following symbolic links:
(Please check the links in rcx.d before the creation.)

# ln -s /etc/init.d/vsftpd /etc/rc3.d/S50vsftpd
# ln -s /etc/init.d/vsftpd /etc/rc4.d/S50vsftpd
# ln -s /etc/init.d/vsftpd /etc/rc5.d/S50vsftpd

For root login, pleasse edit the files /etc/vsftpd.ftpusers  and /etc/vsftpd.user_list  and remove the 'root' line from each file.


Main menu 2

Story | by Dr. Radut