Анонимный ФТП, Proftpd, Debian5

Открываем файл: /etc/proftpd/proftpd.conf

    # A basic anonymous configuration, no upload directories.


    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
    DisplayChdir .message

    # Limit WRITE everywhere in the anonymous chroot


    DenyAll



    # Uncomment this if you're brave.
    #
    # Umask 022 is a good standard umask to prevent new files and dirs
    # # (second parm) from being group and world writable.
    # Umask 022 022
    #

    # DenyAll
    #
    #
    # AllowAll
    #
    #
    #


Перезапускаем:

        /etc/init.d/proftpd restart



Просмотров: 1308
17.02.2015, 19:47 -

Категория: Статьи » Администрирование