Categories
MAC

Enable FTP – Mountain Lion

Launch Terminal. Enable sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist Disable sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist

Categories
Linux

Red Hat & CentOS – Limit FTP users to their /home/user directory

Limit FTP users to their /home/user directory. Open vsftpd configuration file — /etc/vsftpd/vsftpd.conf. # vi /etc/vsftpd/vsftpd.conf Make sure following line exists (and uncommented): chroot_local_user=YES Save and close the file. Restart vsftpd. # service vsftpd restart