View previous topic :: View next topic |
Author |
Message |
Luc484 Veteran
Joined: 26 Mar 2005 Posts: 1035 Location: Italy
|
Posted: Wed Sep 07, 2005 4:08 pm Post subject: [Solved] Problem configuring proftpd for ftp server |
|
|
Hi. I read the gentoo guide for the configuration of proftp but I'm not able to make it work. I followed the instructions, but I don't know why I don't have the /home/username directory. If I try to use kbear to connect to the ftp I get:
Code: | 220 ProFTPD 1.2.10 Server (ProFTPD Default Installation) [82.51.130.27]
user ftp
331 Password required for ftp.
pass [protected]
530 Login incorrect. |
The access is anonymous, so the password shouldn't be a problem no?
This is the config file I wrote:
Code: | # 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 "ProFTPD Default Installation"
#ServerType standalone
DefaultServer on
RequireValidShell off
AuthPAM off
AuthPAMConfig ftp
# 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 luca
Group users
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories.
<Anonymous ~ftp>
User ftp
Group ftp
AnonRequirePassword on
# 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>
DenyAll
</Limit>
</Anonymous> |
Does someone have any idea of what could I have made wrong?
Thanks.
Last edited by Luc484 on Wed Sep 07, 2005 8:17 pm; edited 1 time in total |
|
Back to top |
|
|
Luc484 Veteran
Joined: 26 Mar 2005 Posts: 1035 Location: Italy
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|