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

Notices

Reply
 
Search this Thread
Old 10-10-2004, 06:33 AM   #1
icoming
Member
 
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>
AllowAll
</Limit>

# 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>
DenyAll
</Limit>
</Anonymous>

But when I want to connect to the server,there is an error:
220 ProFTPD 1.2.10 Server (ProFTPD Default Installation) [127.0.0.1]
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, 06:49 AM   #2
heema
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

http://www.webmin.com/
 
Old 10-10-2004, 07:29 PM   #3
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: None (src & compile)
Posts: 253

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, 10:38 AM   #4
icoming
Member
 
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
 
  


Reply


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


All times are GMT -5. The time now is 04:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration