Advertisement
alirezaimi

vsftpd.conf

Mar 23rd, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. root@debian:/home/alireza# cat /etc/vsftpd.conf
  2. # we're running standalone
  3. listen=YES
  4. listen_port=61
  5.  
  6. # enable virtual users:
  7. anonymous_enable=NO
  8. local_enable=YES
  9. # guest_enable=YES uncomment for active another users coonect
  10. guest_enable=YES
  11.  
  12. ## Where the accounts are located.
  13. # guest_username=ftp uncomment for active another users coonect
  14. guest_username=ftp
  15. user_sub_token=$USER
  16. local_root=/home/ftp/$USER
  17. chroot_local_user=YES
  18. allow_writeable_chroot=YES
  19.  
  20. # allow writing
  21. write_enable=YES
  22. local_umask=022
  23. virtual_use_local_privs=YES
  24.  
  25. # some general options
  26. # Activate directory messages - messages given to remote users when they
  27. # go into a certain directory.
  28. dirmessage_enable=YES
  29. hide_ids=YES
  30. secure_chroot_dir=/var/run/vsftpd
  31. connect_from_port_20=YES
  32.  
  33. # here we define OUR pam config [see below]
  34. pam_service_name=vsftpd
  35.  
  36. # more verbose logging
  37. xferlog_enable=YES
  38. log_ftp_protocol=YES
  39. setproctitle_enable=YES
  40.  
  41. # If enabled, vsftpd will display directory listings with the time
  42. # in your local time zone. The default is to display GMT. The
  43. # times returned by the MDTM FTP command are also affected by this
  44. # option.
  45. use_localtime=YES
  46.  
  47. # You may fully customise the login banner string:
  48. ftpd_banner=Welcome to << ALIREZA >> FTP service.
  49.  
  50.  
  51. ## if u want to active change root for users
  52. #chroot_list_enable=YES
  53. #chroot_list_file=/etc/vsftpd/chroot_list
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement