FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old June 4th, 2004, 09:19 PM
tacticus tacticus is offline
Luke, TCI President
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Pennsylvania, USA
Posts: 4 tacticus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question ProFTPD not allowing anonymous users

Hello:

I'm running ProFTPD 1.2.5RC1 under Debian stable.

When ever I attempt a login via anonymous, ftp, or nobody,
I can not. After the password is requested, I get a "530:
login incorrect".
In daemon.log, I receive a notice from ProFTPD, stating
that there is no such user (anonymous).

The stock <anonymous> configuration, contained:

user ftp
UserAlias anonymous ftp

The daemon runs as "nobody", "nogroup". I have no user
"ftp", but changing user to "nobody", got me nowhere.

Here is the configuration as it stands:


ServerName "test FTP server"
ServerType standalone
DeferWelcome on

ShowSymlinks on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
AllowOverwrite on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayFirstChdir .message
LsDefaultOptions "-1"

DenyFilter \*.*/

# Uncomment this if you are using NIS or LDAP to retrieve
passwords: #PersistentPasswd off

# Port 21 is the standard FTP port.
Port 21

MaxInstances 30

# Set the user and group that the server normally runs at.
User nobody
Group nogroup

# Normally, we want files to be overwriteable.
<Directory /*>
# Umask 022 is a good standard umask to prevent new files
and dirs
# (second parm) from being group and world writable.
Umask 022 022

AllowOverwrite on
</Directory>

# Anonymous configuration for test
<Anonymous /var/www/org/test/files>

User nobody
Group nogroup
# We want clients to be able to login with "anonymous"
as well as "ftp"
UserAlias anonymous nobody
UserAlias ftp nobody

RequireValidShell off
AnonRequirePassword off

# Limit the maximum number of anonymous logins
MaxClients 10

# We want 'welcome.msg' displayed at login, and
'.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

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

<Directory incoming>
# Umask 022 is a good standard umask to prevent new
files and dirs
# (second parm) from being group and world writable.
Umask 022 022
<Limit READ WRITE>
DenyAll
</Limit>
<Limit STOR>
AllowAll
</Limit>
</Directory>

</Anonymous>

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > ProFTPD not allowing anonymous users


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway