I have problems with one proftpd server. I use two authentication methods, anonymous and user authentication at the same time.
I modified the proftpd.conf to authenticate against the /etc/proftpd/passwd file, but this police prevent authenticate anonymous users, even I set this directive in my proftpd.conf
Please forgive my english, it´s not my native language
What I want is simple, user authentication and anonymous users at the same time
Here's what I've tried:
# /etc/proftpd/proftpd.conf
UseIPv6 off
IdentLookups off
UseReverseDNS off
ServerName "college"
ServerType standalone
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
#TimeoutNoTransfer 600
#TimeoutStalled 600
#TimeoutIdle 1200
TimeoutNoTransfer 100
TimeoutStalled 50
TimeoutIdle 200
DisplayLogin welcome.msg
DisplayChdir .message true
ListOptions "-l"
DenyFilter \*.*/
RequireValidShell off
Port 21
PassivePorts 40000 50000
AuthOrder mod_auth_file.c
AuthUserFile /etc/proftpd/passwd
AuthGroupFile /etc/proftpd/group
<IfModule mod_dynmasq.c>
# DynMasqRefresh 28800
</IfModule>
MaxInstances 30
User proftpd
Group nogroup
Umask 022 022
AllowOverwrite off
TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log
<IfModule mod_quotatab.c>
QuotaEngine off
</IfModule>
<IfModule mod_ratio.c>
Ratios off
</IfModule>
<IfModule mod_delay.c>
DelayEngine on
</IfModule>
<IfModule mod_ctrls.c>
ControlsEngine off
ControlsMaxClients 20
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock
</IfModule>
<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>
Include /etc/proftpd/conf.d/
DefaultRoot /home/college/ftp
<Anonymous /home/college/ftp>
User ftp
Group nogroup
UserAlias anonymous ftp
RequireValidShell off
MaxClients 50
<Limit LOGIN>
AllowAll
</Limit>
<Directory /home/college/ftp>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
<Directory /home/college/ftp/upload>
<Limit WRITE>
AllowAll
</Limit>
</Directory>
</Anonymous>