ProFTP Anonymous Config

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
Ezeran
Absolute Beginner
Posts: 5
Joined: Mon Apr 03, 2006 4:46 pm

ProFTP Anonymous Config

Post by Ezeran »

Hi ^Rokker, Hi gilthanaz, hi everyone else. :D

I have a BIG Problem with my ftp-server. I don't get the Anonymous Login to work. Userlogin is working fine. I show you my config, maybe ^rooker have an idea. I've already spoken with gilthanaz, but he don't know a solution 'bout ftp. He also told me, that das-werkstatt works with SecureFTP, but i think it's the same config.

----------------------------------
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "Megatron"
ServerType standalone
DefaultServer on

# Allow FTP resuming.
# Remember to set to off if you have an incoming ftp for upload.
AllowStoreRestart on

# Port 21 is the standard FTP port.
Port 21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 30

# Set the user and group under which the server will run.
User ftpadm
Group ftpuser

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

# Normally, we want files to be overwriteable.
AllowOverwrite on

#Special Permissions
<Anonymous /opt/lampp/htdocs/upload>

User ftp
Group ftpuser

<Limit LOGIN>
AllowAll
</Limit>

RequireValidShell off
AnonRequirePassword off
MaxClients 10

<Limit WRITE>
DenyAll
</Limit>

<Directory *>
<Limit STOR>
AllowAll
</Limit>
</Directory>
</Anonymous>

--------------------------------------------------------

Thx for your help. :wink:
Ezeran
Absolute Beginner
Posts: 5
Joined: Mon Apr 03, 2006 4:46 pm

Post by Ezeran »

The main Problem is, that he requires a Password when I try to login Anonymous. I don't understand that.
User avatar
^rooker
Site Admin
Posts: 1482
Joined: Fri Aug 29, 2003 8:39 pm

quick guess

Post by ^rooker »

I'm just taking a quick guess here, but isn't it usually so that one provides at least "some" stinrg (e.g. an email address) as password for anonymous access?

But I'll have to take a close look at your config and ProFTPd in general in order to see if it's possible to go without any passwd at all.
(I'll check "AnonRequirePassword off" more closely)



BTW: we're using vsftpd. Gil's sometimes confusing all the different FTPd-names I sometimes throw at him. :)
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Ezeran
Absolute Beginner
Posts: 5
Joined: Mon Apr 03, 2006 4:46 pm

Post by Ezeran »

May he said vsftp, but i can't remember it. Whatever, thx for your help. I also tried to login with anonymous and and email adress through a browser, but this also don't work.
Post Reply