On Friday, 5. April 2002 12:33, Lothar Schweikle-Droll wrote:
> Am 05 Apr 2002, schrieb Henning Heyne:
> > es gibt da einstellungen fuer anonymous user zugaenge. damit kannst du
> > bestimmte benutzer auf bestimmte verzeichnisse "chrooten". genaue syntax
> > kenne ich nicht mehr genau, steht aber im manual bei www.proftpd.org.
>
> Genau so was such ich. Habe den passenden Absatz in der Doku gefunden,
> nur leider funktioniert es nicht.

ich hatte auch einige probleme es zum laufen zu kriegen.. einfach nen bischen 
probieren, mal mit anderen usern probieren.. die user muessen glaube ich 
einen shell-zugang haben?

hier meine proftpd.conf als beispiel
--------------------------------------------------

# This is a basic ProFTPD configuration file (rename it to 
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName                      "server"
ServerIdent                     on "server is greeting you"
ServerType                      standalone
DeferWelcome                    off


PersistentPasswd                off
#AuthPAMAuthorative             off
ShowSymlinks                    on
MultilineRFC2228                on
DefaultServer                   on
ShowSymlinks                    on
AllowOverwrite                  on

TimeoutNoTransfer               600
TimeoutStalled                  600
TimeoutIdle                     1200

DisplayLogin                    welcome.msg
DisplayFirstChdir               .message
LsDefaultOptions                "-l"

# Port 21 is the standard FTP port.
Port                            17371

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask                           022  022

DefaultRoot     /web/

#Deny           !192.168.2.0
# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances                    3

# Set the user and group that the server normally runs at.
User                            nobody
Group                           nogroup

# Normally, we want files to be overwriteable.
<Directory /*>
  AllowOverwrite                on
</Directory>

#<Directory /web/shopsystem>
#     <Limit ALL>
#       Allow 192.168.2.
#       Deny ALL
#     </Limit>
#</Directory>
# A basic anonymous configuration, no upload directories.

<Anonymous /web/domaine1.de>
  User                          paul
  Group                         users
  UserAlias                     private paul
  UserAlias                     engineering paul
  AnonRequirePassword           on
  RequireValidShell             off
</Anonymous>

<Anonymous /web/domaine2.de>
  User                          developer
  Group                         users
  UserAlias                     private developer
  UserAlias                     engineering developer
  AnonRequirePassword           on
  RequireValidShell             off
</Anonymous>




-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)

Reply via email to