Hello tout le monde
Je viens vers vous car je suis bloquer à un endroit. J'ai installer proftpd depuis le dépot git, et je veux le faire tourner en user, voilà donc ce que j'ai fais :
cd
mkdir proftpd
cd proftpd
git clone *** && cd proftpd
./configure --prefix=/usr/local --without-pam --disable-auth-pam --enable-openssl --enable-ctrls --with modules=mod_ratio:mod_readme:mod_sftp:mod_tls:mod_ban:mod_ctrls_admin:mod_ifsession
make
sudo make install
Script init dans /etc/init.d/proftpd
Fichier de config dans /usr/local/etc/proftpd.conf :
ServerName "ftpweb"
ServerType standalone
DefaultServer on
# Port 21 is the standard FTP port.
Port 21
#For using fxp
AllowForeignAddress on
PassivePorts 49152 65534
# Don't use IPv6 support by default.
UseIPv6 off
# 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 will
Group will
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~
RootLogin off
DirFakeUser on ~
DirFakeGroup on ~
IdentLookups off
# Normally, we want files to be overwriteable.
AllowOverwrite on
RequireValidShell off
AuthUserFile /usr/local/etc/ftpd.passwd
et on termine : sudo /etc/init.d/proftpd start
Ok donc tout ça c'est fait, ça me le lance correctement etc... Sauf que, j'essaie de me connecter et : 503 login incorrect. J'ai vérifier, j'ai bien mis le fichier ftpd.passwd au bon endroit et il est remplie.
Dans filezilla, j'ai mis seulement l'ip du serveur, le login le mdp et le port, et c'est tout, je ne comprends pas, ça avait bien marcher la dernière fois que je l'avais fait.
Si quelqu'un voit la solution, google m'aide pas beaucoup :s