Latest LQ Deal: Linux Power User Bundle
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 12-12-2004, 07:36 AM   #1
LQ Newbie
Registered: Oct 2003
Location: Somewhere in Europe :-)
Distribution: Linux Mint
Posts: 29

Rep: Reputation: 15
Proftpd and anonymous login problem from localhost.

Helo everybody.

Distribution: Fedora Core 2.
Service: proftpd compiled by myself:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/run --enable-shadow \
--with-modules=mod_tls:mod_ratio:mod_readme:mod_quotatab:mod_quotatab_file:mod_ifsession:mod_wrap && \
make && \
make install
I run proftpd by xinetd:
service ftp
disable = no
flags           = REUSE
socket_type     = stream
instances       = 50
wait            = no
user            = root
server          = /usr/sbin/proftpd
log_on_success  = HOST PID
log_on_failure  = HOST
My proftpd.conf file:
ServerName                      "ProFTPD Default Installation"
ServerType                      inetd
DefaultServer                   on
Port                            21
Umask                           022
MaxInstances                    30
User                            nobody
Group                           nobody

DefaultRoot ~

AllowOverwrite          on


<Anonymous ~ftp>
  User                          ftp
  Group                         ftp
UserAlias                       anonymous ftp

  MaxClients                    10

  DisplayLogin                  welcome.msg
  DisplayFirstChdir             .message

  <Limit WRITE>
I create also ftp home directory with rights:
# ls -l /var |grep ftp
drwxr-xr-x   2 root ftp   4096 Dec 12 12:10 ftp
There is no iptables on this machine.

And now... the problem is...

When I try to log on anonymous account from the same machine and try to do simple ls command:
# ncftp localhost
NcFTP 3.1.7 (Jan 07, 2004) by Mike Gleason (
Connecting to                                                                
ProFTPD 1.2.10 Server (ProFTPD Default Installation) []
Logging in...                                                                             
Anonymous access granted, restrictions apply.
Logged in to localhost.                                                                   
ncftp / > ls
Remote host has closed the connection.
List failed.
But when I try to login from another host on network everything is OK. I can list files from anonymous account.

If I make a addition user account and try to log on it from localhost everything is ok also. I have only problem with login as anonymous from the same machine.

What it could be?

Best regards.


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
ProFTPD 1.2.10 Standalone - Unable to login with non-anonymous account dalesan Linux - Networking 3 10-14-2005 06:41 PM
anonymous ftp not working on localhost rolfbeethoven Linux - Newbie 2 07-27-2004 03:01 AM
Proftpd Anonymous login sxp03m Red Hat 0 10-28-2003 06:55 AM
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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:05 PM.

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