RSS2.0

RHCE RHCT Linux Exam Enable vsftpd on RHEL4

Wednesday, August 16, 2006

Enable VSFTP on Redhat Enterprise Linux 4 update 3

To lock users in home dir:

Touch vsftpd.chroot_list ; to create file of users that are allowed to ftp outside their home dirs add root to this file

Cd /etc/vsftpd

vi vsftpd.conf

# You may specify an explicit list of local users to chroot() to their home

# directory. If chroot_local_user is YES, then this list becomes a list of

# users to NOT chroot().

chroot_list_enable=YES

chroot_local_user=YES

# (default follows)

chroot_list_file=/etc/vsftpd.chroot_list ; add root to this file

service vsftpd restart

To lock users in home dir:

Touch vsftpd.chroot_list ; to create file of users that are allowed to ftp outside their home dirs add root to this file