Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. #
  2. # The default compiled in settings are fairly paranoid. This sample file
  3. # loosens things up a bit, to make the ftp daemon more usable.
  4. # Please see vsftpd.conf.5 for all compiled in defaults.
  5. #
  6. # READ THIS: This example file is NOT an exhaustive list of vsftpd options.
  7. # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
  8. # capabilities.
  9. #
  10. #
  11. # Run standalone? vsftpd can run either from an inetd or as a standalone
  12. # daemon started from an initscript.
  13. listen=NO
  14. #
  15. # This directive enables listening on IPv6 sockets. By default, listening
  16. # on the IPv6 "any" address (::) will accept connections from both IPv6
  17. # and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
  18. # sockets. If you want that (perhaps because you want to listen on specific
  19. # addresses) then you must run two copies of vsftpd with two configuration
  20. # files.
  21. listen_ipv6=YES
  22. #
  23. # Allow anonymous FTP? (Disabled by default).
  24. anonymous_enable=NO
  25. #
  26. # Uncomment this to allow local users to log in.
  27. local_enable=YES
  28. #
  29. # Uncomment this to enable any form of FTP write command.
  30. write_enable=YES
  31. #
  32. # Default umask for local users is 077. You may wish to change this to 022,
  33. # if your users expect that (022 is used by most other ftpd's)
  34. local_umask=022
  35. #
  36. # Uncomment this to allow the anonymous FTP user to upload files. This only
  37. # has an effect if the above global write enable is activated. Also, you will
  38. # obviously need to create a directory writable by the FTP user.
  39. #anon_upload_enable=YES
  40. #
  41. # Uncomment this if you want the anonymous FTP user to be able to create
  42. # new directories.
  43. #anon_mkdir_write_enable=YES
  44. # If enabled, vsftpd will display directory listings with the time
  45. # in your local time zone. The default is to display GMT. The
  46. # times returned by the MDTM FTP command are also affected by this
  47. # option.
  48. use_localtime=YES
  49. #
  50. # Activate logging of uploads/downloads.
  51. xferlog_enable=YES
  52. #
  53. # Make sure PORT transfer connections originate from port 20 (ftp-data).
  54. connect_from_port_20=YES
  55. #
  56. # If you want, you can arrange for uploaded anonymous files to be owned by
  57. # a different user. Note! Using "root" for uploaded files is not
  58. # recommended!
  59. #chown_uploads=YES
  60. #chown_username=whoever
  61. #
  62. # You may override where the log file goes if you like. The default is shown
  63. # below.
  64. #xferlog_file=/var/log/vsftpd.log
  65. #
  66. # If you want, you can have your log file in standard ftpd xferlog format.
  67. # Note that the default log file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement