[bglug] Problema ftp

Paolo Asperti paolo@asperti.com
Mer 16 Nov 2005 19:33:40 CET


Franco Perale ha scritto:

> Tuttavia non riesco a connettermi con un utente anonymous, ne' con
> nobody, come indicato in documentazione.
>

Aggiungi questo in coda al file:

<Anonymous ~ftp>
  User                                ftp
  Group                               nogroup
  # We want clients to be able to login with "anonymous" as well as "ftp"
  UserAlias                   anonymous ftp
  # Cosmetic changes, all files belongs to ftp user
  DirFakeUser on ftp
  DirFakeGroup on ftp

   RequireValidShell           off

  # 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
  <Directory *>
    <Limit WRITE>
      DenyAll
    </Limit>
  </Directory>

   <Directory incoming>
     # Umask 022 is a good standard umask to prevent new files and dirs
     # (second parm) from being group and world writable.
     Umask                           022  022
              <Limit READ WRITE>
              DenyAll
              </Limit>
              <Limit STOR>
              AllowAll
              </Limit>
   </Directory>
</Anonymous>




-- 

 - Paolo Asperti - 
 
GPG key ID: 0C96DE3C
Key fingerprint = 21CC 3510 26A3 1FE3 DD20  1211 6993 690A 0C96 DE3C





Maggiori informazioni sulla lista bglug