Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1860 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Logiciels

  ProFTPD : probleme avec le compte anonyme

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

ProFTPD : probleme avec le compte anonyme

n°655435
tomtom41
It's not a bug, it's a feature
Posté le 27-03-2005 à 15:16:43  profilanswer
 

bonjour à tous !
 
j'essaie de monter un serveur ftp et j'ai choisi proftpd sous fedora core 2.
 
j'ai réussi à l'installer mais la configuration reste difficile...
 
voici la connexion au serveur :

Citation :


[root@localhost root]# ftp 127.0.0.1
Connected to 127.0.0.1 (127.0.0.1).
220 ProFTPD 1.2.10 Server (ProFTPD Default Installation) [127.0.0.1]
Name (127.0.0.1:root): ftp
331 Anonymous login ok, send your complete email address as your password.
Password:
530-Unable to set anonymous privileges.
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.


 
le probleme est apparement ceci : 530-Unable to set anonymous privileges.
 
j'ai créé un compte ftp sur mon serveur mais je ne vois pas comment faire pour les droits en mode anonyme...:??:
 
si vous avez une idée... :love:  
 
merci pour votre aide :hello:


Message édité par tomtom41 le 27-03-2005 à 15:16:55
mood
Publicité
Posté le 27-03-2005 à 15:16:43  profilanswer
 

n°655440
deather2
Posté le 27-03-2005 à 15:23:50  profilanswer
 

Montre le fichier de config :)

n°655447
tomtom41
It's not a bug, it's a feature
Posté le 27-03-2005 à 15:39:28  profilanswer
 

oui désolé.
c'est un peu le bordel dedans car je test des trucs...:d
 

Citation :


[root@localhost etc]# cat 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 Default Installation"
ServerType      standalone
UseFtpUsers on
DefaultChdir /ftp
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
 
# 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                           nobody
Group                           nobody
 
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
 
DefaultRoot ~
 
# Normally, we want files to be overwriteable.
AllowOverwrite          on
 
# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
  DenyAll
</Limit>
 
# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
 
 
<Anonymous ~ftp>
  RequireValidShell             no
  User                          ftp
  Group                         ftp
 
  # 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>
 
 
<Limit READ>
AllowAll
</Limit>
 
 
 
 
 
</Anonymous>

n°655450
deather2
Posté le 27-03-2005 à 15:45:35  profilanswer
 

T'as bien un user ftp de crée?
Il a un répertoire personnel? Il a les droits pour le lire ?

n°655452
tomtom41
It's not a bug, it's a feature
Posté le 27-03-2005 à 15:49:09  profilanswer
 

deather2 a écrit :

T'as bien un user ftp de crée?
Il a un répertoire personnel? Il a les droits pour le lire ?


 
alors oui j'ai créé un user ftp.
le probleme c'est que je n'ai pas de gui sur le serveur et je ne sais pas comment voir les droits d'un user :/

n°655453
deather2
Posté le 27-03-2005 à 15:50:52  profilanswer
 

ls -ld ~ftp
 
tu verras les droits tu répertoire personnel de ftp

n°655456
tomtom41
It's not a bug, it's a feature
Posté le 27-03-2005 à 15:54:28  profilanswer
 

le répertoire n'existait pas...
je l'ai donc créer et je lui ai mis un chmod 777(je réglerais comme il le faut apres ;))
 
donc ca donne ca :
 

Citation :

[root@localhost var]# ls -ld ~ftp
drwxrwxrwx  2 root root 4096 mar 27 15:39 /var/ftp


 
mais ne change rien au probleme :(

n°655458
deather2
Posté le 27-03-2005 à 15:55:55  profilanswer
 

chown ftp:ftp ~ftp
 
:)

n°655461
tomtom41
It's not a bug, it's a feature
Posté le 27-03-2005 à 15:58:19  profilanswer
 

oui c'est mieux....:)
 
mais ca ne change rien au probleme :cry:  
 
merci de ton aide  :jap:

n°655465
deather2
Posté le 27-03-2005 à 16:05:20  profilanswer
 

User                           nobody
Group                           nobody  
 
 
Essaye de mettre ftp et ftp

mood
Publicité
Posté le 27-03-2005 à 16:05:20  profilanswer
 

n°655466
tomtom41
It's not a bug, it's a feature
Posté le 27-03-2005 à 16:08:57  profilanswer
 

idem...:(
 
par contre dès la connexion j'ai ca comme message :
 

Citation :

500 AUTH not understood
KERBEROS_V4 rejected as an authentication type


 
c'est peut etre ca le probleme  :??:

n°655470
deather2
Posté le 27-03-2005 à 16:20:48  profilanswer
 

Oulà :/
Je sais pas trop...
Je te donne mon fichier de config, si ça peut t'aider:

Citation :

ServerName "Imaga FTP Server"
ServerType standalone
DeferWelcome on "Imaga FTP Server, welcome."
ServerIdent off
 
DefaultServer  on
 
Port 21
 
UMask 022
 
MaxInstances 30
 
User ftp
Group ftp
 
<Directory />
 AllowOverwrite on
</Directory>
 
# Log definitions here
LogFormat default "%s %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"
SyslogFacility AUTH
# End log definitions
 
ScoreboardFile /var/proftpd/proftpd.scoreboard
 
<Anonymous ~ftp>
 User ftp
 Group ftp
 UserAlias anonymous ftp
 DisplayLogin /etc/anonftp.msg
 <Limit WRITE MKDIR CHMOD>
  DenyAll
 </Limit>
 ExtendedLog /var/log/proftpd/access_anon.log WRITE,READ write
 ExtendedLog /var/log/proftpd/auth_anon.log AUTH auth
 ExtendedLog /var/log/proftpd/ftp_anon.log AUTH
 
</Anonymous>
 
<Global>
 DefaultRoot ~
 IdentLookups off
 ServerIdent off
 DeferWelcome on
 
 RequireValidShell no
 User   ftp
 Group  ftp
 
 DisplayLogin /etc/ftp.msg
 AllowOverwrite yes
 MaxClients 10  
 MaxClientsPerHost 5
 UseFtpUsers on
 AllowForeignAddress off
 AllowStoreRestart on
 AllowRetrieveRestart on  
 
 ExtendedLog /var/log/proftpd/access.log WRITE,READ write
 ExtendedLog /var/log/proftpd/auth.log AUTH auth
 ExtendedLog /var/log/proftpd/ftp.log AUTH
</Global>
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Logiciels

  ProFTPD : probleme avec le compte anonyme

 

Sujets relatifs
Qmail, problème d'autentification[debian woody] Probleme de downgrade de mysql 4.1 -> 4.0
Probleme chargement KDM [HELP !]probleme instal de winlsd 3 !! code administrateur,?
[Résolu] probleme majusculeRPM build errors: probleme avec installation d'un src.rpm
asrock k7s41gx + mandrake 10 -> problème x serverprobleme avec logiciel gnomad2 pour creative Zen sur linux
[Debian / DeMudi] probleme avec xinitrc.....Problème de urpmi ?
Plus de sujets relatifs à : ProFTPD : probleme avec le compte anonyme


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR