Salut !

Je cherche à créer un serveur ftp. J'ai lu tout ce que j'ai pu trouvé, mais j'ai 
encore du mal à mettre en route mon site ftp.
Est que quelqu'un pourrait m'envoyer son proftpd.conf ? Ca manque d'example sur le 
site.

J'ai créé un compte utilisateur vince dans un groupe ftp_user avec un shell false. 
Puis j'ai créé mon fichier de conf en me basant sur ce que j'ai trouvé sur le net, 
mais ca ne fctionne toujours pas.

Voici mon proftpd.conf :


 more proftpd.conf
# 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 Server"
ServerType               standalone
DefaultServer            on

# Allow FTP resuming.
# Remember to set to off if you have an incoming ftp for upload.
AllowStoreRestart        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             10

# Set the user and group that the server normally runs at.
User                     nobody
Group                    nogroup

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

# Needed for NIS.
PersistentPasswd         off

#limitation du nombre de tentatives de logins
MaxLoginAttempts         3


#Personalisation du serveur
AccessGrantMsg            "Bienvenue %u sur le serveur ftp "

#pour ne pas donner d'info prcise sur le serveur
DeferWelcome            off


#interdit l'ecriture
#<Limit MKD RNFR RNTO DELE RMD STOR CHMOD SITE_CHMOD SITE XCUP WRITE XRMD XPWD>
#   DenyAll
#</Limit>


<Global>
  DefaultRoot                  ~
  AllowOverwrite               yes
  MaxClients                   3
  MaxClientsPerHost            1
  UseFtpUsers                  on
  AllowForeignAddress          on
  ServerIdent                  on       "serveur (global)"
  AccessGrantMsg               "Bienvenue %u sur le serveur(global)"
</Global>


# Serveur Virtuel pour criture
<VirtualHost  xxxxx.dyndns.org>
ServerName                          "Mon serveur FTP virtuel"
Port                                21
Maxclients                          3
MaxClientsPerHost                   1
DefaultRoot                         ~
AccessGrantMsg                      "Bienvenue %u sur le serveur virtuel "
 <Limit LOGIN>
   AllowUser                        vince
#   DenyAll
 </Limit>
</VirtualHost>
# Default root can be used to put users in a chroot environment.
# As an example if you have a user foo and you want to put foo in /home/foo
# chroot environment you would do this:
#
# DefaultRoot /home/foo foo

Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Reply via email to