[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: proftpd : 2 anonymous areas?



* Rory Campbell-Lange (rory@campbell-lange.net) spake thusly:
> I'm trying to make 2 or more anonymous areas on our intranet where
> people can only view data, not write it.
> 
> The two directories are /home/x/y/z and /home/x/a
> 
> My three strategies:
> 1) make an <anonymous> directive with suitable <directory> directives
> within. Problem: everyone can see /home/x
> 2) try and make two <anonymous> directives. Problem: only one works

FWIW, here's snippets from proftpd.conf with two anonymous blocks.
This works on Solaris 8 (sorry, no debian boxen with proftpd here).

# anonymous configuration
<Anonymous ~ftp>
  User	   	ftp
  Group         ftp
  UserAlias     anonymous ftp
...
</Anonymous>
# 2nd anon. login has a password
<Anonymous /export/guestftp>
  User          guest
  Group         ftp
  AnonRequirePassword on
  UserPassword  uwisc  qwertYUiopasd
...
</Anonymous>

HTH
Dima
-- 
E-mail dmaziuk at bmrb dot wisc dot edu (@work) or at crosswinds dot net (@home)
http://www.bmrb.wisc.edu/descript/gpgkey.dmaziuk.ascii -- GnuPG 1.0.4 public key
One distinguishing characteristic of BOFHen is attention deficit disorder.  
Put me in front of something boring and I can find a near-infinite number 
of really creative ways to bugger off.                  -- Antony De Boer in asr



Reply to: