33.13. Very Secure ftpd
vsftpd can provide access to installation trees for para-virtualized guests (for example, the Red Hat Enterprise Linux 5 repositories) or other data. If you have not installed vsftpd during the server installation you can grab the RPM package from your Server directory of your installation media and install it using the rpm -ivh vsftpd*.rpm (note that the RPM package must be in your current directory).
- To configure
vsftpd, edit/etc/passwdusingvipwand change the ftp user's home directory to the directory where you are going to keep the installation trees for your para-virtualized guests. An example entry for the FTP user would look like the following:ftp:x:14:50:FTP User:/xen/pub:/sbin/nologin
ftp:x:14:50:FTP User:/xen/pub:/sbin/nologinCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Verify that
vsftpdis not enabled using thechkconfig --list vsftpd:chkconfig --list vsftpd
$ chkconfig --list vsftpd vsftpd 0:off 1:off 2:off 3:off 4:off 5:off 6:offCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Run the
chkconfig --levels 345 vsftpd onto start vsftpd automatically for run levels 3, 4 and 5. - Use the
chkconfig --list vsftpdcommand to verify thevsftpddaemon is enabled to start during system boot:chkconfig --list vsftpd
$ chkconfig --list vsftpd vsftpd 0:off 1:off 2:off 3:on 4:on 5:on 6:offCopy to Clipboard Copied! Toggle word wrap Toggle overflow - use the
service vsftpd start vsftpdto start the vsftpd service:$service vsftpd start vsftpd Starting vsftpd for vsftpd: [ OK ]
$service vsftpd start vsftpd Starting vsftpd for vsftpd: [ OK ]Copy to Clipboard Copied! Toggle word wrap Toggle overflow