Question: How to restrict Linux FTP users in their own home directory Path?
Answer:To restrict FTP users in their own home directory, HC Linux Panel writes the following entries in the vsftpd.conf file at path /etc/vsftpd/vsftpd.conf during the configuration of FTP Server in the panel. If these entries are missing then you can insert in the vsftpd.conf file at bottom
chroot_local_user=YES
userlist_deny=YES
userlist_file=/etc/ftpusers
Save the file and restart Vsftpd service
/etc/init.d/vsftpd restart or service vsftpd restart
For CentOS7 you would need to add an additional line in vsftpd.conf file located at /etc/vsftpd/vsftpd.conf allow_writeable_chroot=YES
systemctl restart vsftpd If issue still persists then disable the SELINUX with the help of following steps:edit the file /etc/sysconfig/selinux to include SELINUX=disabled
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add support@hostingcontroller.com to your trusted senders list in your email software.