The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files from one host to another host over a TCP-based network, such as the Internet.
1. How to restrict Linux FTP users in their own home directory Path
The File Transfer Protocol (FTP) is a standard network protocol used to
transfer computer files from one host to another host over a TCP-based
network, such as the Internet.
For a new user you would do:
# useradd -m -G ftp -s /sbin/nologin -d /home/ftpuser ftpuser
For an existing user you would do:
# usermod ftpuser -G ftp -s /sbin/nologin -d /home/ftpuser
# yum install vsftpd
# vim /etc/vsftpd/vsftpd.conf
chroot_local_user=YES
#service vsftpd restart
P@wan Kumar
https://www.facebook.com/LinuxLiveScenarioClass