Pages : 1
#1 Le 29/12/2007, à 01:52
- onlyforme
GProFTPd : les utilisateurs ne peuvent pas se connecter
Bonjour,
Voila, j'ai installé Gproftpd, les utilisateurs vont bien sur mon adresse ftp, entrent le login et au moment de saisir le mot de passe il y le message d'acces denied
About to connect() to xx.228.xx.xx. port 21
* Trying xx.228.xx.xx... connected
* Connected to xx.228.xx.xx. (xx.228.xx.xx.) port 21
< 220 Onlyforme
> USER anonymous
< 331 Anonymous login ok, send your complete email address as your password.
> PASS *****
< 530-Unable to set anonymous privileges.
< 530 Login incorrect.
* Access denied: 530
* Closing connection #0
J'ai essaye avec ou sans mot de passe et avec utilisateur nommé.
Voici le fichier proftpd.conf
ServerType standalone
DefaultServer on
Umask 022
ServerName "xx.228.xx.xx"
ServerIdent on "Onlyforme"
ServerAdmin x@x.com
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 49152 65534
#MasqueradeAddress None
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
DisplayLogin welcome.msg
User nobody
Group nobody
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress off
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 30
TransferRate STOR 40
TransferRate STOU 40
TransferRate APPE 40
SystemLog /var/log/secure
RequireValidShell off
#gp_random_username_length 6
#gp_random_password_length 6
#gp_randomize_case lower
#gp_useradd_homedir_path /var/ftp
#gp_html_path /var/www/html/ftp.htm
#gp_welcome_name welcome.msg
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol TLSv1
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gproftpd/gproftpd.pem
</IfModule>
<IfModule mod_ratio.c>
Ratios off
SaveRatios off
RatioFile "/restricted/proftpd_ratios"
RatioTempFile "/restricted/proftpd_ratios_temp"
CwdRatioMsg "Please upload first!"
FileRatioErrMsg "FileRatio limit exceeded, upload something first..."
ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..."
LeechRatioMsg "Your ratio is unlimited."
</IfModule>
<Limit LOGIN>
AllowUser ftp
DenyALL
</Limit>
<Anonymous /media/hdd1/ftp/anonymous>
User ftp
Group nogroup
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Cosmetic changes, all files belongs to ftp user
DirFakeUser on ftp
DirFakeGroup on ftp
RequireValidShell off
# 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
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
</Anonymous>
Merci de votre aide
Dernière modification par onlyforme (Le 29/12/2007, à 01:57)
Onlyforme
Newbie depuis le 23/12/07
Ubuntu 8.04
Hors ligne
#2 Le 29/12/2007, à 19:30
- onlyforme
Re : GProFTPd : les utilisateurs ne peuvent pas se connecter
Manifestement c'est dans le paramtrage des autorisation sur la partie directory parger que je me plante. Comment partage ton une directory sur un disque hdc5. merci de vos explications
Onlyforme
Newbie depuis le 23/12/07
Ubuntu 8.04
Hors ligne