www.ProFTPD.de
13. März 2007, 19:48:04 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: DefaultRoot funzt nicht  (Gelesen 408 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
numx
ProFTPD
*
Offline Offline

Beiträge: 25


Profil anzeigen
« am: 20. Juni 2005, 11:16:49 »

Hallo Leute,

ich habe DefaultRoot ~ in meine proftpd.conf eingetragen aber nichts will so richtig funktionieren. Will sagen die User landen nicht in ihrem Verzeichnis was beim anlgegen der User mitgegeben wurde. In meinem Falll ist es /ftp/"username". Statt dessen landen sie immer auf oberster Ebene in /. Sie kommen dann auch in kein Verzeichnis rein nicht mal in das Verzeichnis /ftp/"username". Für dieses Verzeichnis haben sie aber 777 Zugriff also Vollzugriff. Stattdessen steht bei Clientprogramm "/ftp No such File or directory". Nehme ich dann DefaultRoot ~ wieder raus landen sie im /ftp/"username" aber sie können sich daann nach oben hangeln. Ich habe schon folgende Sachen ausprobiert.


DefaultRoot ~

DefaultRoot ~ ftpuser (das ist die Gruppe in der alle FTP User         drin sind)

<Global>
DefaultRoot ~
</Global>

<Global>
DefaultRoot ~ ftpuser
</Global>


ich benutzer Debian 3.1 und Proftpd 1.2.10 mod_auth ist auch vorhanden. Im Debug modus 9 steht

- dispatching directive 'DefaultRoot' to module mod_auth
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #1 am: 20. Juni 2005, 11:30:15 »

poste mal die gesamte config und stelle SICHER, das auch auch die RICHTIGE Config beim start von proftpd genommen wird. Ggf. die config beim start von proFTPD mit übergeben
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
numx
ProFTPD
*
Offline Offline

Beiträge: 25


Profil anzeigen
« Antwort #2 am: 20. Juni 2005, 13:04:58 »

bitte sehr


#
# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#

ServerName         "Debian"
ServerType         standalone
DeferWelcome         off

#MultilineRFC2228      on
#DefaultServer         on
ShowSymlinks         on

TimeoutNoTransfer           300   
TimeoutStalled              300    
TimeoutIdle              300   

DisplayLogin                    welcome.msg
DisplayFirstChdir               .message
#ListOptions "-a" zeigt alle Files im Verzeichnis
ListOptions                   "-l"
DenyFilter         \*.*/

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

# Uncomment this if you would use TLS module:
#TLSEngine          on

# Uncomment this if you would use quota module:
#Quotas            on

# Uncomment this if you would use ratio module:
#Ratios            on

# 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
#<Global>
#DefaultRoot              ~
#</Global>   
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask            022  022
# Normally, we want files to be overwriteable.
AllowOverwrite         off

# Delay engine reduces impact of the so-called Timing Attack described in
# http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02
# It is on by default.
#DelayEngine          off
MaxClientsPerUser 2 "es duerfen nur 2 gelichzeitige Verbindungen"
#MD5FS ~/md5
ServerAdmin xxxxx@xxxx.de
ServerIdent off
AccessGrantMsg "%u ist eingeloggt"
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #3 am: 20. Juni 2005, 13:22:54 »

ja, das war nun die config mit der es nicht geht ? Füge nun mal "defaultroot ~" hinzu und schaue nochmal..
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
numx
ProFTPD
*
Offline Offline

Beiträge: 25


Profil anzeigen
« Antwort #4 am: 20. Juni 2005, 13:57:57 »

das defaultroot ist nur auskommentiert weil es nicht damit geht. Es funzt nicht wenn ich defaultroot ~ eingebe.
Gespeichert
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.058 Sekunden mit 16 Zugriffen.