Koozali.org: home of the SME Server

E-smith 6.0 proftpd user upload / Downlaod control in ibay?

hanky

E-smith 6.0 proftpd user upload / Downlaod control in ibay?
« on: August 21, 2004, 10:50:07 AM »
Dear big brother,

I want to ask a question about proftpd.
E-smith 6.0, how to control independent user to upload / Downlaod file and  entry the directory in ibay directory?

Thank you

Hanky

Offline Kobus

  • *****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
E-smith 6.0 proftpd user upload / Downlaod control in ibay?
« Reply #1 on: August 21, 2004, 10:56:07 AM »
Kobus............

hanky

E-smith 6.0 proftpd user upload / Downlaod control in ibay?
« Reply #2 on: August 21, 2004, 01:30:48 PM »
Quote from: "kbensch"
My search for proftp reveals this:

http://no.longer.valid/phpwiki/index.php/How%20To%20SME-FTP-manager


I know this packet and installed?
but it can control user upload / download?

hanky

E-smith 6.0 proftpd user upload / Downlaod control in ibay?
« Reply #3 on: August 21, 2004, 01:36:26 PM »
Quote from: "kbensch"
My search for proftp reveals this:

http://no.longer.valid/phpwiki/index.php/How%20To%20SME-FTP-manager


i want to do this

directory "s1a"

User "A" can upload and download
User "B" only download
User "C" can't entry the directory

i thin FTP manager can't control this problem.
any good idea?

thx
hanky

hanky

Here is the code of proftpd server setup config
« Reply #4 on: August 22, 2004, 04:44:05 PM »
Code: [Select]
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# SME Server software. Instead, modify the source template in
# an /etc/e-smith/templates-custom directory. For more
# information, see http://www.e-smith.org/custom/
#
# copyright (C) 1999-2003 Mitel Networks Corporation
#------------------------------------------------------------




DefaultRoot /home/e-smith/files
DefaultServer on
DenyFilter \*.*/
DisplayFirstChdir .message
DisplayLogin welcome.msg
Group public
IdentLookups off
MaxInstances 30
ScoreboardFile /var/run/proftpd/scoreboard
ServerAdmin admin@vpntest.kml.com.hk
ServerIdent off
ServerName "ProFTPD e-smith installation"
ServerType inetd
UseFtpUsers on
UseReverseDNS off
User public
Port 21
<Directory /*>
  <Limit WRITE>
    DenyAll
  </Limit>
  <Limit SITE_CHMOD>
    DenyAll
  </Limit>
</Directory>
<Limit LOGIN>
  AllowAll
</Limit>

<Directory ~/home>
    AllowOverwrite on
    Umask 007
    <Limit WRITE>
        AllowAll
    </Limit>
</Directory>


<Directory /home/e-smith/files/ibays/Primary/*>
    AllowOverwrite on
    GroupOwner shared
    Umask 027
    DisplayFirstChdir .message
    <Limit WRITE>
        AllowAll
    </Limit>
</Directory>

<Directory /home/e-smith/files/ibays/s1a/*>
    AllowOverwrite on
    AllowStoreRestart off
    AllowRetrieveRestart on
    GroupOwner shared
    Umask 002
    DisplayFirstChdir .message
    <Limit WRITE>
        AllowAll
    </Limit>
</Directory>

<Anonymous /home/e-smith/files/ibays/Primary/files>
    User public
    Group public
    UserAlias anonymous public
    UserAlias ftp public
    AnonRequirePassword off
    UseFtpUsers on
    MaxClients 10
    DisplayLogin welcome.msg
    DisplayFirstChdir .message
    <Limit LOGIN>
        AllowAll
    </Limit>
    <Directory *>
        <Limit WRITE>
            DenyAll
        </Limit>
    </Directory>
</Anonymous>

<Anonymous /home/e-smith/files/ibays/Primary/files>
    User Primary
    Group Primary
    AnonRequirePassword off
    UseFtpUsers on
    MaxClients 10
    DisplayLogin welcome.msg
    DisplayFirstChdir .message
    AllowOverwrite on
    <Limit LOGIN>
      Order Allow,Deny
      Allow from all
      Deny from all
    </Limit>
    <Directory *>
        <Limit WRITE>
            DenyAll
        </Limit>
    </Directory>
</Anonymous>

<Anonymous /home/e-smith/files/ibays/s1a/files>
    User s1a
    Group s1a
    AnonRequirePassword on
    UseFtpUsers on
    MaxClients 10
    DisplayLogin welcome.msg
    DisplayFirstChdir .message
    AllowOverwrite on
    AllowStoreRestart off
    AllowRetrieveRestart on
    <Limit LOGIN>
      Order Allow,Deny
      Allow from 127.0.0.1
      Deny from all
    </Limit>
    <Directory *>
        <Limit WRITE>
            DenyAll
        </Limit>
    </Directory>
</Anonymous>



hanky

E-smith 6.0 proftpd user upload / Downlaod control in ibay?
« Reply #5 on: August 24, 2004, 09:25:33 AM »
anybody can help?
because i search this problem on google and contribs.org.

but that is no ans!!

If any brother have solution pls help me!

Thank you!

hanky