Hi Dave,

Heres a copy of one of the domains i host for ftp access :

<VirtualHost somedomain.com>
  <Global>
    DefaultRoot /home/directory username
  </Global>
  <Directory /home/directory/*>
    AllowOverwrite                on
  </Directory>
  User                          username
  Group                         www
  # Limit the maximum number of logins
  MaxClients                    5
</VirtualHost>

Hope this helps.

Regards,


---Reply to mail from Dave Cost about Proftpd and security issue

> I was tweaking the proftpd configuration when I discovered that it's
> impossible for proftpd to chroot to the user's home directory.
> 
> This is a highly recommended setting so that one can limit ftp users to
> their home directory (i.e. their web root directory) with no access outside.
> 
> This is done via the "DefaultRoot ~" proftpd directive.
> 
> However I cannot make it work not even by copying a working proftpd setup.
> It seems that it's not possible to chroot if not being root.
_______________________________________________________
Urivan Saaib
Presidente
CiberNET Mexico
Email: [EMAIL PROTECTED]
Tel: (6) 175.71.95
Cel: (6) 170.40.88



Reply via email to