« Administration réseau sous Linux/ProFTPD » : différence entre les versions

Contenu supprimé Contenu ajouté
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 339 :
</Anonymous>
 
== Fichier de log ==
 
Proftpd stocke ses logs dans le fichier '''/var/log/proftpd/xferlog'''. En voici un extrait :
 
Wed Feb 6 12:16:12 2008 1 lns-bzn-51f-85-78-78-5.adsl.proxad.net 1129 /home/user1/fichier1.txt a _ i r user1 ftp 0 * c
Thu Feb 6 15:23:49 2008 1 84-74-216-148.dclient.hispeed.ch 11743 /var/www/index.html a _ i r user2 ftp 0 * c
Fri Feb 6 23:46:02 2008 1 69.183.30.97.adsl.snet.net 4572542 /home/user2/toto.pdf a _ i r user2 ftp 0 * c
...
 
== Création d'un utilisateur FTP ==
Ligne 380 ⟶ 371 :
* Pour une connexion anonyme, on pourra utiliser <code><nowiki>ftp://serveur/</nowiki></code> ou <code><nowiki>ftp://serveur/chemin</nowiki></code>.
* Pour se connecter avec un mot de passe, on utilisera <code><nowiki>ftp://utilisateur:mot_de_passe@serveur/</nowiki></code>.
 
== Problèmes connus ==
 
=== Fichier de log ===
 
Proftpd stocke ses logs dans le fichier '''/var/log/proftpd/xferlog'''. En voici un extrait :
 
Wed Feb 6 12:16:12 2008 1 lns-bzn-51f-85-78-78-5.adsl.proxad.net 1129 /home/user1/fichier1.txt a _ i r user1 ftp 0 * c
Thu Feb 6 15:23:49 2008 1 84-74-216-148.dclient.hispeed.ch 11743 /var/www/index.html a _ i r user2 ftp 0 * c
Fri Feb 6 23:46:02 2008 1 69.183.30.97.adsl.snet.net 4572542 /home/user2/toto.pdf a _ i r user2 ftp 0 * c
...
 
=== 530 Authentification incorrecte ===
Si les logs renvoient <code>SECURITY VIOLATION: root login attempted</code> (en FTP avec un compte qui peut marcher en SFTP par ailleurs), c'est qu'il faut modifier <code>/etc/proftpd/proftpd.conf</code> avec <code>RootLogin on</code>.
 
== Références ==