Hello,
I've been using Proftpd (although it seems to be slowly dying) and
would like to setup multi-user access to a website project. The idea
is that everyone can log into the base and make changes, but some
specific directories are to be reserved for specific users.
Everyone on the system currently has a linux uname/pw so what I'm
doing is aliasing them to the wwwuser which is running apache. Each
having their own username/password to ftp into the site is working
fine so far.
The part that's not working is the directory limiting. I can deny ALL
users no problem, but when I try to specify individual users it either
opens up completely or closes it off completely. No middle ground.
I've tried every combination in the LIMIT context I can think of.
Here's the proftpd.conf excerpt.
<Anonymous /home/website/>
User wwwuser
Group wwwuser
MaxClients 20
AnonRequirePassword on
DefaultChdir /home/website/www
#Trying to run user aliases
AuthUsingAlias on
RequireValidShell off
#User Aliases
UserAlias jack wwwuser
UserAlias jill wwwuser
UserAlias henry wwwuser
UserAlias frank wwwuser
<Directory /home/website/www/catalog/content>
<Limit WRITE READ DIRS>
DenyALL
AllowUser jack
</Limit>
</Directory>
</Anonymous>
If anyone has been able to do this, would love to know what I'm doing
wrong.
Mike
|