LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Proftpd Anonymous login (https://www.linuxquestions.org/questions/red-hat-31/proftpd-anonymous-login-109428/)

sxp03m 10-28-2003 06:55 AM

Proftpd Anonymous login
 
Using Proftpd 1.2.8 I have succesfully set up user accounts and logins. However the anonymous login always gives an error 530 Unable to set anonymous priveliges. Even the mlost basic anon configuration won't work. below is the current config:

# ProFTPD configuration file

ServerName "ElectrodeFTP"
ServerType standalone
DefaultServer on

Port 21
User ftpmanage
Group ftpmanage
Umask 022
MaxInstances 10
AuthPAM off
AuthUserFile /etc/proftpd.passwd
AuthGroupFile /etc/proftpd.group
DefaultRoot ~
DirFakeUser on ~
DirFakeGroup on ~
ExtendedLog /var/spool/syslog/proftpd/proftplog.log ALL default
# ProFTPD configuration file

ServerName "ElectrodeFTP"
ServerType standalone
DefaultServer on

Port 21
User ftpmanage
Group ftpmanage
Umask 022
MaxInstances 10
AuthPAM off
AuthUserFile /etc/proftpd.passwd
AuthGroupFile /etc/proftpd.group
DefaultRoot ~
DirFakeUser on ~
DirFakeGroup on ~
ExtendedLog /var/spool/syslog/proftpd/proftplog.log ALL default

<Global>

DefaultRoot ~
DefaultTransferMode binary
DisplayLogin .welcome.msg
MaxClients 10

<Limit SITE_CHMOD>
DenyAll
</Limit>

</Global>



<Directory /*>
AllowOverwrite on
</Directory>

# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous /home/ftp>
User ftpmanage
Group ftpmanage
UserAlias anonymous ftpmanage
MaxClients 10
RequireValidShell off
DefaultChdir /home/ftp
# DisplayLogin welcome.msg
# DisplayFirstChdir .message
# PathAllowFilter "^[-A-Za-z0-9._+]*$"
# PathDenyFilter "(^|/)[-.]"
# AllowFilter "^[-A-Za-z0-9.,_+/\]*$"

# <Directory /home/ftp/pub>
# <Limit MKD STOR RMD DELE SITE_CHMOD RNFR>
# DenyAll
# </Limit>
# <Limit CWD RETR STAT>
# AllowAll
# </Limit>
# </Directory>
</Anonymous>

<Global>

DefaultRoot ~
DefaultTransferMode binary
DisplayLogin .welcome.msg
MaxClients 10

<Limit SITE_CHMOD>
DenyAll
</Limit>

</Global>



<Directory /*>
AllowOverwrite on
</Directory>

# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous /home/ftp>
User ftpmanage
Group ftpmanage
UserAlias anonymous ftpmanage
MaxClients 10
RequireValidShell off
DefaultChdir /home/ftp
# DisplayLogin welcome.msg
# DisplayFirstChdir .message
# PathAllowFilter "^[-A-Za-z0-9._+]*$"
# PathDenyFilter "(^|/)[-.]"
# AllowFilter "^[-A-Za-z0-9.,_+/\]*$"

# <Directory /home/ftp/pub>
# <Limit MKD STOR RMD DELE SITE_CHMOD RNFR>
# DenyAll
# </Limit>
# <Limit CWD RETR STAT>
# AllowAll
# </Limit>
# </Directory>
</Anonymous>

Can anyone tell me how to get it working?

Thanks


All times are GMT -5. The time now is 05:38 AM.