LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-10-2004, 03:02 PM   #1
madunix
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Rep: Reputation: 0
proftpd


I downloaded and installed the proftpd ....

[root@rhwebapp root]# /usr/local/sbin/proftpd
- warning: AuthPAMAuthoritative is deprecated
[root@rhwebapp root]# ps -aux | grep ftp
nobody 1346 0.0 0.1 2380 1240 ? S 13:51 0:00 proftpd: (accepti
root 1348 0.0 0.0 1732 580 pts/0 S 13:51 0:00 grep ftp

it looks okay for me .... but when I try to ftp to the server it gave
[root@rhwebapp root]# ftp localhost
Connected to localhost (127.0.0.1).
421 Service not available, remote server has closed connection
ftp> quit

What could be the problem?
what about the warning with PAM?
my configuration file (part of it)

# To have more informations about Proftpd configuration
# look at : http://www.proftpd.org/
#
# 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 "THIS FTP SERVER IS RESTRICTED TO AUTHORIZED USERS"
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

DebugLevel 9
SystemLog /var/log/proftpdlog
TransferLog /var/log/xferlog



# 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 2

ScoreboardFile /var/run/proftpd
RequireValidShell off

AuthPAMAuthoritative off

# Set the user and group under which the server will run.
User nobody
Group nogroup

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

Thanks

madunix@gmail.com
 
Old 10-14-2004, 02:36 PM   #2
madunix
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Original Poster
Rep: Reputation: 0
I resolved this issue .... I added the localhost login
<Limit LOGIN>
Order allow,deny
Allow from 127.0.0.1,.trusted-domain.org
Deny from all
</Limit>

it works now ....
I have another issue ....
I want to enforce my proftpd to listen on another IP A.B.C.D than the primary IP X.Y.Z.W
can any one help in this issue, where to alocate virtualhost and what should be inside
my config file
----//-------------
ServerName "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

DebugLevel 9
SystemLog /var/log/proftpdlog
TransferLog /var/log/xferlog
MaxInstances 2

ScoreboardFile /var/run/proftpd
RequireValidShell off

AuthPAMAuthoritative off

# Set the user and group under which the server will run.
User nobody
Group nogroup

<Directory />
AllowOverwrite on
</Directory>

<Limit LOGIN>
Order allow,deny
Allow from 127.0.0.1,.trusted-domain.org
Deny from all
</Limit>



<Anonymous ~ftp>
user abc
group ftp

AnonRequirePassword on
</Anonymous>


<Anonymous ~ftp>
user xyz
group ftp

AnonRequirePassword on
</Anonymous>
---------------//-------------------
 
  


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
proftpd: proftpd startup failed tumana Linux - Newbie 14 06-17-2012 11:06 AM
[PROFTPD] Ldap and proftpd authentication wesleywest Linux - Software 1 02-22-2005 09:51 AM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 10:27 AM
proftpd help strider17 Linux - Newbie 2 02-08-2004 11:44 AM
proftpd --- need help? could someone post a working proftpd.conf i could look at ZooRoPa Linux - Networking 1 04-02-2003 06:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:35 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration