Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-08-2004, 03:54 PM   #1
LQ Newbie
Registered: Feb 2004
Location: Ashland, Or
Distribution: fedora
Posts: 1

Rep: Reputation: 0
Question Proftpd - ftp help on fedora

I've just installed proftpd 1.2.9. on Fedora Core 1

I've edited the proftpd.conf file to use testuser (useradd -M testuser) and group testuser instead of group because it said that user nobody didn't exist(yet when i tried to create user nobody i couldn't because there was one.)

Then I added a file called "proftp" to /etc/xinetd.d/

service ftp
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/proftpd
log_on_failure += USERID
disable = no

I restarted xinetd then started proftpd

I then tried ftping to localhost but it tells me that

"421 Service not available, remote server has closed connection"

So after i got that i tried ftp'ing to and just to see if it would do the same, It did.

So i looked at iptables --list and it says

"ACCEPT tcp -- anywhere anywhere stat NEW tcp dpt; ftp"

From that I would figure that it would accept ftp connections.

Can anyone offer some help with this?


# 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 "Test 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 testuser
Group testuser

# 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>
<Limit LOGIN>
UseFtpUsers on
RequireValidShell off

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>


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
ftp with proftpd JROCK1980 Linux - Software 1 09-06-2005 03:03 PM
proftpd (ftp server) Adrian13 Linux - Software 3 10-18-2004 05:22 PM
How to uninstall ProFTPd and other FTP-packages? Maarten_Holland Linux - Software 8 10-03-2004 07:11 AM
FTP Permissions With Proftpd Seventh Linux - Newbie 11 06-19-2004 03:25 PM
About Proftpd ftp server config tommyliu Linux - Newbie 2 06-13-2004 12:39 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:45 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