You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
1 year ago
|
ServerName "FTP"
|
||
|
ServerIdent on "FTP Server ready."
|
||
|
ServerAdmin root@localhost
|
||
|
DefaultServer on
|
||
|
DefaultRoot ~ !adm
|
||
|
|
||
|
Include /etc/proftpd/tls.conf
|
||
|
|
||
|
<IfModule mod_vroot.c>
|
||
|
VRootEngine on
|
||
|
VRootAlias /etc/security/pam_env.conf etc/security/pam_env.conf
|
||
|
</IfModule>
|
||
|
|
||
|
AuthPAMConfig proftpd
|
||
|
AuthOrder mod_auth_pam.c* mod_auth_unix.c
|
||
|
UseReverseDNS off
|
||
|
User proftpd
|
||
|
Group nobody
|
||
|
MaxInstances 20
|
||
|
UseSendfile off
|
||
|
LogFormat default "%h %l %u %t \"%r\" %s %b"
|
||
|
LogFormat auth "%v [%P] %h %t \"%r\" %s"
|
||
|
ListOptions -a
|
||
|
RequireValidShell off
|
||
|
PassivePorts 12000 12100
|
||
|
|
||
|
<Global>
|
||
|
Umask 002
|
||
|
<IfModule mod_ident.c>
|
||
|
IdentLookups off
|
||
|
</IfModule>
|
||
|
AllowOverwrite yes
|
||
|
<Limit ALL SITE_CHMOD>
|
||
|
AllowAll
|
||
|
</Limit>
|
||
|
</Global>
|