Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-15-2004, 09:48 AM   #1
LQ Newbie
Registered: Jul 2004
Posts: 8

Rep: Reputation: 0
anonymous ftp not working on localhost

this is my first linux install and I'm having problems with proftpd. I've tried to use the ftpd documentation and man page searches, but I havenít found the problem. Basically, I get proftpd up and running fine and I can log in as the linux user (tyler), however, I get an error when I try to log in as anonymous. The following is the error message from linux as well as the config file for proftpd. I have a user/group nobody/nobody (I created) and there apparently is an ftp user/group created by the system. I tried to create one and got an error that the user existed. Iím using a new install of MDK 10.0 on an Intel 733 Mhz CPU.


Here's the error message from the console:

[tyler@192 tyler]$ ftp localhost
Connected to localhost.
220 ProFTPD 1.2.9 Server (T-Bob ftp server) []
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (localhost:tyler): anonymous
331 Anonymous login ok, send your complete email address as your password.
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.


# 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 "T-Bob ftp server"
ServerType standalone
DefaultServer 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 nobody
Group nobody

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

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on

# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
User ftp
Group ftp

# 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>
Old 07-16-2004, 12:48 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 69
Well I'd first suspect there is no ~ftp directory. I'd probably check out your log file first to see what it has to say about the error. I just fired one up for fun trying to duplicate the problem, and it spells out what my problem is, mine is that the shell is an invalid shell, leaving the user unable to actually login. I'd probably need to give them a valid shell such as /bin/rbash or something, but that may not be what your problem is... Check your logs, and if you don't understand what it is they are saying, feel free to post up what it is they are saying so someone can interpret them for you

Old 07-27-2004, 03:01 AM   #3
Registered: Dec 2001
Posts: 31

Rep: Reputation: 15

I've the smiliar problem, it not allow users to login but the same ussers can telnet connection to the FTP server. It shows error when using FTP.

530 Login incorrect
Login failed

Is it there any file to set the access right for the FTP?



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 and anonymous login problem from localhost. immer Linux - Networking 0 12-12-2004 07:36 AM
files uploaded to anonymous ftp not readable by anonymous TheOneAndOnlySM Linux - Software 2 11-04-2004 07:42 AM
Trouble getting anonymous ftp server working glock19 Linux - General 14 08-05-2002 11:06 AM
Anonymous FTP? mikeshn Linux - General 4 06-08-2002 03:51 PM
ftp localhost not working - RH 6.2 Kiwisheep Linux - Newbie 0 02-08-2002 12:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:24 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
Open Source Consulting | Domain Registration