l'IP è dinamico... il problema sta proprio lì, che mi pare strano dovergli specificare l'ip a mano x farlo partire... cmq questo è proftpd.conf
Codice:
# 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 "FrancescoInSvezia Linux Server"
ServerType standalone
DefaultServer on
# Allow FTP resuming.
# Remember to set to off if you have an incoming ftp for upload.
AllowStoreRestart 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 10
# Set the user and group under which the server will run.
User nobody
Group nogroup
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
# Needed for NIS.
PersistentPasswd off
# Default root can be used to put users in a chroot environment.
# As an example if you have a user foo and you want to put foo in /home/foo
# chroot environment you would do this:
#
# DefaultRoot /home/foo foo
<Global>
DefaultChdir /var/ftpdir
DefaultRoot /var/ftpdir ftpuser
DefaultRoot /var/ftpdir/pub anonymous
DefaultRoot /var/www/html francesco
AccessGrantMsg "Welcome to Linux FTP server@MdK9.1"
AccessDenyMsg "Yor account is not valid contact your sysadmin (davide)"
LoginPasswordPrompt on
AllowOverwrite on
DeleteAbortedStores on
HiddenStor off
RootLogin off
DisplayLogin """Signori calma!"""
DisplayQuit ""Bye!""
MaxLoginAttempts 3
TransferLog /var/log/proftpd/transfer_log
SyslogLevel notice
DisplayGoAway """Troppe connessioni!"""
LsDefaultOptions -l
</Global>
SystemLog /var/log/proftpd/errors_log
<VirtualHost francescoinsvezia.ods.org>
ServerName "FrancescoInSvezia"
</VirtualHost>
Il file cmq è quello standard... ho cambiato solo i nomi
Come vedete ho lasciato anche l'account anonymous - anche se non funziona, forse perchè la dir di root x quell'account non esiste - però vorrei toglierlo e lasciare solo account reali con password. Fra l'altro se qualcuno ha qualche dritta su come far girare l'autenticazione tramite db mysql mi fa un favore... sto guardando la documentazione, ma se qualcuno mi mette sulla buona strada non mi offendo