The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FTP Anonimous per account

Discussion in 'General Discussion' started by phpman, Apr 16, 2004.

  1. phpman

    phpman Well-Known Member

    Joined:
    Sep 3, 2003
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Rio de Janeiro - Brazil
    For default Cpanel just creates an only anonymous ftp for server that is in /var/ftp

    To supply the anonymous ftp for account you should make an inclusion in the conf of the proftpd.


    edit: /etc/proftpd.conf

    ---x---x---x---x---x---x---x---


    pico -w /etc/proftpd.conf

    At the end of the file it includes:

    -------------------------------------------
    <VirtualHost 66.98.193.150> ######## alter the number IP
    ExtendedLog /etc/httpd/domlogs/ftp.svclub.com.br-ftpbytes_log READ BytesLog ######## alter the domlogs
    TransferLog /etc/httpd/domlogs/ftp.svclub.com.br-ftp_log ######## alter the domlogs
    ServerName ftp.svclub.com.br ######## alter the host
    AuthUserFile /etc/proftpd/svclub ######## alter the file of conf
    MaxClients 3 "Sorry, this ftp server has reached its maximum user count (%m). Please try again later"
    DirFakeGroup On ftpgroup
    DirFakeUser On ftpuser
    DefaultRoot ~
    <Directory />
    AllowOverwrite on
    HideGroup wheel
    HideUser root
    </Directory>
    <Anonymous /home/svclub/public_ftp> ########################################### alter the path
    UseFtpUsers on
    RequireValidShell off
    UseFtpUsers on
    RequireValidShell off
    User ftp
    Group ftp
    UserAlias anonymous ftp
    DisplayLogin welcome.msg
    DisplayFirstChdir .message
    <Limit WRITE>
    DenyAll
    </Limit>
    <Directory incoming>
    <Limit STOR>
    AllowAll
    </Limit>
    <Limit WRITE READ>
    DenyAll
    </Limit>
    </Directory>
    </Anonymous>
    </VirtualHost>
    -------------------------------------------


    Save, exit and restart service

    ctrl + o
    ctrl + x
    service proftpd restart


    Huggs:D
     
Loading...

Share This Page