www.ProFTPD.de

ProFTPD => ProFTPD - Deutsch => Thema gestartet von: Jan am 19. August 2004, 20:08:45



Titel: DefaultRoot
Beitrag von: Jan am 19. August 2004, 20:08:45
Hallo,

"DefaultRoot" funktioniert bei mir überhaupt nicht. Jeder User landet zwar beim Login in seinem Home, kann aber zur Wurzel ausbrechen.
Anbei meine Config:

Code:
# 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                      "Debian"
ServerType                      standalone
DeferWelcome                    off

ShowSymlinks                    on
MultilineRFC2228                on
DefaultServer                   on
ShowSymlinks                    on
AllowOverwrite                  on

TimeoutNoTransfer               600
TimeoutStalled                  600
TimeoutIdle                     1200

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

DenyFilter                      \*.*/

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd               off

# Port 21 is the standard FTP port.
Port                            21

# 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                    30

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

# Normally, we want files to be overwriteable.
<Directory /*>
  # Umask 022 is a good standard umask to prevent new files and dirs
  # (second parm) from being group and world writable.
  Umask                         022  022

  AllowOverwrite                on
</Directory>

DefaultRoot ~


Achja, beim Start von ProFtpD bekomme ich die Meldung

Zitat
- No certificate files found!


Vielleicht hat das ja etwas damit zu tun?!?

Vielen Dank


Jan


Titel: DefaultRoot
Beitrag von: Wörsty am 19. August 2004, 20:40:18
:shock: Sollte eigentlich gehen.
Poste mal das Debug vom Start bis Verzeichniswechsel.


Titel: habe selbiges problem
Beitrag von: heinz am 24. August 2004, 20:46:26
mit SUSE9.0 kann jeder Nutzer ungehindert durch den Verzeichnisbaum spatzieren ...hatte weder bei install noch beim Start probleme mit allen moeglichen conf-files schon probiert? .. iss da wieder so eine Yast einstellung dran schuld ?


Titel: ich noch mal
Beitrag von: heinz am 24. August 2004, 21:01:02
3. Konfiguration

ProFTPD stellt einige Standard Config-Files zur Verfügung. Die einzelnen Configs sind (solange nichts spezielles verlangt wird) selbsterklärend und ausreichend gut dokumentiert. Bei SuSE findet sich die Config in /etc/proftpd.conf, bei einer Installation des Quellcodes von ProFTPD direkt in /usr/local/etc/proftpd.conf
...na da hab ich wohl die falsche datei bearbeitet