Léa-Linux & amis :   LinuxFR   GCU-Squad   GNU
UserFTP
Envoyé par: hokayoo

Bonjour
j'essaye de configurer mon serveur FTP pour qu'un utilisateur peut accedé mais sans aucun fruit , en utilisant le mode anonyme j'y accede sans probleme mais si j'essaye d'ajouter un utilisateur FTP impossible de se connecter
vous trouvezci dessous la config que j'ai effectué

useradd zouhairftp -s /bin/false
passwd zouhairftp #password c le meme que le user

j'ai ajouté /bin/false dans le fichiers /etc/shells

ensuite cp /etc/passwd /etc/ftpusers


la config de mon fichier /etc/proftpd.conf


ServerName "ProFTPD server"
ServerType standalone
#ServerType inetd
DefaultServer on
DeferWelcome off

# Use this to excude users from the chroot
#DefaultRoot /

# Use pam to authenticate by default
#AuthPAMAuthoritative off


# 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

# Default to show dot files in directory listings
ListOptions "-a"


# Allow to resume not only the downloads but the uploads too
AllowRetrieveRestart on
AllowStoreRestart on

MaxInstances 20

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

# This is where we want to put the pid file
#ScoreboardFile /var/run/proftpd.score

# Normally, we want users to do a few things.
<Global>
AllowOverwrite yes
<Limit ALL SITE_CHMOD>
AllowAll
</Limit>
</Global>


# A basic anonymous configuration, with an upload directory.
# <Anonymous /root >
# User test
# Group test
# AccessGrantMsg "test login ok, restrictions apply."

#
# # We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias anonymous wanaspot
#
# # Limit the maximum number of anonymous logins
MaxClients 10 "Sorry, max %m users -- try again later"
#
# # Put the user into /pub right after login
#DefaultChdir /
#
#
# # Limit WRITE everywhere in the anonymous chroot
# <Limit WRITE SITE_CHMOD>
# AllowAll
#</Limit>
#
# # An upload directory that allows storing files but not retrieving
# # or creating directories.
<Directory /var>
AllowOverwrite yes
<Limit READ>
AllowAll
</Limit>
#<Directory /root >
# <Limit Write >
# AllowUser test
# AllowAll
# </Limit>
# <Limit READ>
# AllowAll
# </Limit>

# <Limit STOR>
# AllowAll
# </Limit>
# </Directory>
#
#</Anonymous>


quelqu'un peu me dir comment pourrais-je faire pour que je puisse acceder avec un utilisateur FTP et pas le anonyme

Poste le Friday 19 September 2008 13:19:31
Répondre     Citer    

Veuillez vous authentifier auparavant pour commenter.

 

Ce forum !
UserFTP
Posez dans ce forum les questions qui ne trouvent pas place dans les autres...

Sauf mention contraire, les documentations publiées sont sous licence Creative-Commons