Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- install vsftpd:
- sudo apt-get install vsftpd
- edit vsftpd config file located in /etc:
- sudo nano /etc/vsftpd.conf
- make sure the value is the same and the entry is not commented:
- to disable anonymous users:
- anonymous_enable=NO
- to enable local users:
- local_enable=YES
- to allow write on folders:
- write_enable=YES
- to restrict users going to other directory except their home directory:
- chroot_local_user=YES
- make sure you give proper permission on each home folder by using command below:
- 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