LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-28-2003, 06:55 AM   #1
sxp03m
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ProFTPD 1.2.10 Standalone - Unable to login with non-anonymous account dalesan Linux - Networking 3 10-14-2005 06:41 PM
Proftpd and anonymous login problem from localhost. immer Linux - Networking 0 12-12-2004 07:36 AM
ProFtpd and anonymous log-in cyclic Linux - Software 5 03-03-2004 01:59 PM
proftpd anonymous login issues jstander Linux - Software 3 05-05-2003 07:11 PM
Proftpd Anonymous login badsvt351 Linux - Networking 2 02-15-2002 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration