Advertisement
shokti

ubuntu server vsftpd installation

Sep 10th, 2012
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.57 KB | None | 0 0
  1. install vsftpd:
  2.     sudo apt-get install vsftpd
  3.  
  4. edit vsftpd config file located in /etc:
  5.     sudo nano /etc/vsftpd.conf
  6.  
  7. make sure the value is the same and the entry is not commented:
  8. to disable anonymous users:
  9.     anonymous_enable=NO
  10. to enable local users:
  11.     local_enable=YES
  12. to allow write on folders:
  13.     write_enable=YES
  14. to restrict users going to other directory except their home directory:
  15.     chroot_local_user=YES
  16.  
  17. make sure you give proper permission on each home folder by using command below:
  18.     sudo chmod 777 /user_home_folder_here or sudo chmod 755 /user_home_folder_here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement