Proftp Question

Guys,

I am trying to give anonymous access to the ftp server but looks like messed up somewhere. Everytime I try to do a restart action after messing with the conf file, get an error saying Fatal: WtmpLog: directive not allowed in <Directory> context . I have tried almost everything except disabling anonymous access. Could you please let me know what I am doing wrong? Here is the configuration for the anonymous access.


# A basic anonymous configuration, with an upload directory.
<Anonymous ~ftp>
User ftp
Group ftp
AccessGrantMsg "Anonymous login ok, restrictions apply."

# # We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

# # Limit the maximum number of anonymous logins
MaxClients 10 "Sorry, max %m users -- try again later"

# # Put the user into /pub right after login
#DefaultChdir /pub

# We want 'welcome.msg' displayed at login, '.message' displayed in
# each newly chdired directory and tell users to read README* files.
DisplayLogin /welcome.msg
DisplayFirstChdir .message
DisplayReadme README*

# # Some more cosmetic and not vital stuff
# DirFakeUser on ftpadm
# DirFakeGroup on ftpadm

# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE SITE_CHMOD>
DenyAll
</Limit>

# An upload directory that allows storing files but not retrieving
# or creating directories.
<Directory uploads/*>
AllowOverwrite no
<Limit READ>
DenyAll
</Limit>

# <Limit STOR>
# AllowAll
# </Limit>
# </Directory>

# Don't write anonymous accesses to the system wtmp file (good idea!)
WtmpLog off

# Logging for the anonymous transfers
# ExtendedLog /var/log/proftpd/access.log WRITE,READ default
# ExtendedLog /var/log/proftpd/auth.log AUTH auth

</Anonymous>

Thanks

 

 

 

 

Top