Advertisement
Guest User

Untitled

a guest
Aug 17th, 2013
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.73 KB | None | 0 0
  1. # Config file for /etc/init.d/pure-ftpd
  2. ##Comment variables out to disable its features, or change the values in it... ##
  3.  
  4. ## This variable must be uncommented in order for the server to start ##
  5. IS_CONFIGURED="yes"
  6.  
  7. ## FTP Server,Port (separated by comma) ##
  8. ## If you prefer host names over IP addresses, it's your choice:
  9. ## SERVER="-S ftp.rtchat.com,21"
  10. ## IPv6 addresses are supported.
  11. ## !!! WARNING !!!
  12. ## Using an invalid IP will result in the server not starting,
  13. ## but reporting a correct start!
  14. SERVER="-S 192.168.1.2,"
  15. ## By default binds to all available IPs.
  16. SERVER="-S 21"
  17.  
  18. ## Number of simultaneous connections in total, and per IP ##
  19. MAX_CONN="-c 30"
  20. MAX_CONN_IP="-C 10"
  21.  
  22. ## Don't allow uploads if the partition is more full then this var ##
  23. DISK_FULL="-k 90%"
  24.  
  25. ## If your FTP server is behind a NAT box, uncomment this ##
  26. #USE_NAT="-N"
  27.  
  28. ## Authentication mechanisms (others are 'pam', ...) ##
  29. ## Further infos can be found in the README file.
  30. AUTH="-l unix"
  31.  
  32. ## Change the maximum idle time (in minutes) ##
  33. ## If this variable is not defined, it will default to 15 minutes.
  34. #TIMEOUT="-I <timeout>'"
  35.  
  36. ## Facility used for syslog logging ##
  37. ## If this variable is not defined, it will default to the 'ftp' facility.
  38. ## Logging can be disabled with '-f none'.
  39. #LOG="-f <facility>"
  40.  
  41. ## Charset conversion support *experimental* ##
  42. ## Only works if USE "charconv" is enabled (only Pure-FTPd >=1.0.21).
  43. ## Set the charset of the filesystem.
  44. # CHARCONV="--fscharset <charset>"
  45.  
  46. ## If you want to process each file uploaded through Pure-FTPd, enter the name
  47. ## of the script that should process the files below.
  48. ## man pure-uploadscript to learn more about how to write this script.
  49. # UPLOADSCRIPT="/path/to/uploadscript"
  50.  
  51. ## Misc. Others ##
  52. MISC_OTHER="-A -e -B -j -R -Z"
  53.  
  54. #
  55. # Use these inside $MISC_OTHER
  56. # More can be found on "http://download.pureftpd.org/pub/pure-ftpd/doc/README"
  57. #
  58. # -A [ chroot() everyone, but root ]
  59. # -e [ Only allow anonymous users ]
  60. # -E [ Only allow authenticated users. Anonymous logins are prohibited. ]
  61. # -i [ Disallow upload for anonymous users, whatever directory perms are ]
  62. # -j [ If the home directory of a user doesn't exist, auto-create it ]
  63. # -M [ Allow anonymous users to create directories. ]
  64. # -R [ Disallow users (even non-anonymous ones) usage of the CHMOD command ]
  65. # -x [ In normal operation mode, authenticated users can read/write
  66. # files beginning with a dot ('.'). Anonymous users can't, for security reasons
  67. # (like changing banners or a forgotten .rhosts). When '-x' is used, authenticated
  68. # users can download dot-files, but not overwrite/create them, even if they own
  69. # them. ]
  70. # -X [ This flag is identical to the previous one (writing
  71. # dot-files is prohibited), but in addition, users can't even *read* files and
  72. # directories beginning with a dot (like "cd .ssh"). ]
  73. # -D [ List files beginning with a dot ('.') even when the client doesn't
  74. # append the '-a' option to the list command. A workaround for badly
  75. # configured FTP clients. ]
  76. # -G [ Disallow renaming. ]
  77. # -d [ Send various debugging messages to the syslog. ONLY for DEBUG ]
  78. # -F <fortune file> [ Display a fortune cookie on login. Check the README file ]
  79. # -H [ By default, fully-qualified host names are logged. The '-H' flag avoids host names resolution. ]
  80.  
  81.  
  82. # Some filesystems don't like accesses being memory mapped. This happens for
  83. # example with ftpwho on JFFS2 filesystems (bug #330563). If you happen to
  84. # have such a filesystem on /var set TMPFS_MOUNT to "true".
  85. TMPFS_MOUNT="false"
  86.  
  87. # Special mount options (like nosuid or nodev) for the tmpfs mount can be added
  88. # here. Several options must be separated by comma: "nodev,nosuid"
  89. #TMPFS_OPTS=""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement