|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Jan 2001
Messaggi: 3278
|
Aiuto per configurazione Proftpd...
L'idea sarebbe quella di rendere accessibile (solo in lettura e ad un solo utente!) da remoto via ftp una directory della mia home,ad esempio /home/nz/ftp.
Ho installato Proftpd ed eseguito il relativo demone. Come configurazione ho soltanto editato un po il file proftpd.conf di default. Morale: se digito: Codice:
ftp://user: pswd@my_ip Problemi: 1) come faccio a sapere se l'accesso è in sola lettura? 2) perchè non fa l'accesso anonimo? 3) come si fa a far apparire una finestra per l'immissione di user e pswd? 4) se metto user e pswd di root non si connette ![]() Ho cercato in rete qualche .conf già fatto ma quelli trovati era un po troppo complessi per me ![]() Mi date qualche suggerimento? ![]() PS: il mio .conf attuale è del tipo: Codice:
ServerName "FTP Server" ServerType standalone DefaultServer on TimeoutLogin 120 TimeoutIdle 300 TimeoutNoTransfer 120 TimeoutStalled 240 Port 21 Umask 022 MaxInstances 1 User nobody Group nobody DefaultRoot /home/nz/ftp AllowOverwrite on <Limit SITE_CHMOD> DenyAll </Limit> <Anonymous ~ftp> User ftp Group ftp UserAlias anonymous ftp MaxClients 1 DisplayLogin welcome.msg DisplayFirstChdir .message <Limit WRITE> DenyAll </Limit> </Anonymous> |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Jan 2001
Messaggi: 3278
|
proftpd.conf attuale:
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 "FTP@ftp.nz.it" ServerType standalone 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 1 UseReverseDNS off IdentLookups off # Set the user and group under which the server will run. User nobody Group nobody SystemLog /var/log/ftpd/proftpd.log TransferLog /var/log/ftpd/xferlog # To cause every FTP user to be "jailed" (chrooted) into their home # directory, uncomment this line. DefaultRoot /home/nz/ftp # Normally, we want files to be overwriteable. AllowOverwrite on # A basic anonymous configuration, no upload directories. If you do not # want anonymous users, simply delete this entire <Anonymous> section. <Anonymous ~ftp> RequireValidShell off 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 1 # 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> </Anonymous> ![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Jan 2002
Città: Imola
Messaggi: 1116
|
Per accesso anonimo vedi:
/etc/ftpusers Per il fatto che sia in sola lettura se l'hai messo nel file di configurazione certo che lo è... |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 12:53.