Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-10-2004, 07:33 AM   #1
Registered: Feb 2004
Posts: 96

Rep: Reputation: 15
how to establish ftp server with proftp to allow anonymous user login

In my proftpd.conf,the section about Anonymous is like this:
<Anonymous ~ftp>
User ftp
Group ftp

# Allow logins if they are disabled above.
<Limit LOGIN>

# 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

# 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
<Limit WRITE>

But when I want to connect to the server,there is an error:
220 ProFTPD 1.2.10 Server (ProFTPD Default Installation) []
USER anonymous
331 Anonymous login ok, send your complete email address as your password.
PASS xxxx
530-Unable to set anonymous privileges.
530 Login incorrect.

What does the message mean?
Does it mean the account 'ftp' in the server is not available?
The section of the account 'ftp' in the file of passwd is like this:
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin

What is the problem?
Why I can't connect to the server anonymously
Old 10-10-2004, 07:49 AM   #2
Senior Member
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 46
have u tried webmin , you could easily setup proftp with it
Old 10-10-2004, 08:29 PM   #3
Registered: Jul 2003
Location: NY
Distribution: None (src & compile)
Posts: 261

Rep: Reputation: 36
Try the source tarball for Proftpd. It comes with alot of documentation, mini-Howto's, complete config's, and even an example anonymous one. The Howto about debugging will also show you how to find out just what the server is doing.
Old 10-12-2004, 11:38 AM   #4
Registered: Feb 2004
Posts: 96

Original Poster
Rep: Reputation: 15
I have read the example of anonymous config.
But I don't think there is any difference between my config and the example.
So I come here,and want to get some help


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Anonymous ftp server naren Linux - Software 2 11-09-2004 01:00 AM
Anonymous login FTP hkgonra Mandriva 8 10-07-2003 06:30 PM
anonymous user can't login vsftp java8964 Linux - General 1 08-07-2002 09:40 AM
ftp says login incorrect - anonymous access works fine?!? wwwgeek Linux - Newbie 2 09-15-2001 01:46 PM
Anonymous Ftp server torp Linux - Networking 3 03-01-2001 09:01 PM

All times are GMT -5. The time now is 06:51 AM.

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