]> git.pld-linux.org Git - packages/bftpd.git/blame - bftpd.conf
- added using autoconf, ac 2.5 ready
[packages/bftpd.git] / bftpd.conf
CommitLineData
a2aac09d 1#Configuration file for bftpd.
2#The given values are only examples, modify this file for your own needs.
3
4user global {
5
6 #Saying no here makes the server unaccessable.
7 SERVER_ENABLED=yes
8
9 #If SERVER_ENABLED is not set to yes, you can give a reason for the server
10 #shutdown here, or just say 'none'.
11 DISABLE_REASON=none
12
13 #Use Ratio if you want the client to send a file before he can get a file.
14 #Usage: RATIO=send/receive or RATIO=none. Example: RATIO=2/1 lets the client
15 #receive a 1 MB file when he has sent a 2 MB file.
16 RATIO=none
17
18 #ROOTDIR specifies the root directory of the client. It defaults to %h
19 #(user's home directory). %u is replaced by the user name.
20 ROOTDIR=%h
21
22 #Umask for the files or directories users create.
23 UMASK=022
24
25 #Name of the log file. Specify "syslog" (without quotes) to log into syslog.
26 LOGFILE=syslog
27
28 #Use %v for version, %h for the server FQDN and %i for the server IP address.
29 HELLO_STRING=bftpd %v at %h(%i) ready.
30
31 #Authentication type, values: PAM, PASSWD
32 AUTH=PAM
33
34 #Enable this if you want the client's IP address to be resolved to a host
35 #name. Note that it increases the overhead and it may not work if your DNS
36 #is not configured correctly. Clients without a valid DNS name will take very
37 #long to connect.
38 RESOLVE_CLIENT_IP=no
39
40 #Path to the message of the day, seen by all users before login.
41 MOTD_GLOBAL=/etc/ftpmotd
42
43 #Path to the message of the day, seen after login, relative to the root
44 #path of the user (see ROOTDIR).
45 MOTD_USER=/.ftpmotd
46
47 #If RESOLVE_UIDS is enabled, in directory lists the user and group names
48 #are shown instead of UID/GID. This may slow down directory listings.
49 RESOLVE_UIDS=yes
50
51 #You can enable/disable SITE commands here.
52 ENABLE_SITE=no
53
54 #If DO_CHROOT is enabled, a user can not access directories other than his
55 #HOMEDIR and its subdirectories. DON'T disable this globally if you don't
56 #want to have a security hole!
57 DO_CHROOT=yes
58
59 #Enable this to log each login to wtmp.
60 LOG_WTMP=yes
61
62 #If you want bftpd to bind itself to one specific network interface, enter
63 #its IP address here. Else enter 'any'. This option only works in standalone
64 #mode.
65 BIND_TO_ADDR=any
66}
67
68user ftp {
69 #Any password fits.
70 ANONYMOUS_USER=yes
71}
72
73user anonymous {
74 #If the client wants anonymous, ftp is taken instead.
75 ALIAS=ftp
76}
77
78user root {
79 SERVER_ENABLED=no
80 DISABLE_REASON=Root login not allowed.
81}
This page took 0.112054 seconds and 4 git commands to generate.