|
Home > Archive > Red Hat Topics > October 2004 > proftpd
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| madunix 2004-10-15, 8:46 pm |
| 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 ~
.......
| |
| madunix 2004-10-15, 8:46 pm |
| Resolved .... I added the IP in the proftpd config file to allow FTP
connectiom
Thanks.
"madunix" <madunix@gmail.com> wrote in message
news:2t1jurF1qjeq5U1@uni-berlin.de...
> 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 ~
> ......
>
>
>
| |
| madunix 2004-10-15, 8:46 pm |
| <Limit LOGIN>
Order allow,deny
Allow from X.Y.W.Z
Deny from all
</Limit>
"Vince Coen" <VBCoenDespawn@btconnect.com> wrote in message
news:1097660166@f609.n257.z2.fidonet.ftn...
> Hello madunix!
>
> 13 Oct 04 08:38, madunix wrote to All:
>
> m> Resolved .... I added the IP in the proftpd config file to allow FTP
> m> connectiom
>
> Say again the solution with your example as I did not understand your
> resolution?
>
>
>
>
> Vince
>
>
| |
| madunix 2004-10-15, 8:46 pm |
| How can I make my FTP services (proftpd) hosting on a specific IP using
virtualhost ?
any help
Thanks
> <Limit LOGIN>
> Order allow,deny
> Allow from X.Y.W.Z
> Deny from all
> </Limit>
>
> "Vince Coen" <VBCoenDespawn@btconnect.com> wrote in message
> news:1097660166@f609.n257.z2.fidonet.ftn...
FTP[vbcol=seagreen]
>
>
|
|
|
|
|