www.ProFTPD.de
13. März 2007, 19:10:31 *
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  
  Zeige Beiträge
Seiten: 1 [2]
16  ProFTPD / ProFTPD - Deutsch / Re: User ins Home / Rest in die gewünschten Verzeichnisse am: 21. September 2006, 15:40:23
Hallöle VolGas

thx für deine Hilfe... *g



 - mod_tls/2.0.7: using OpenSSL 0.9.7g 11 Apr 2005
 - parsing '/etc/proftpd.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - dispatching directive 'ServerType' to module mod_core
 - dispatching directive 'PidFile' to module mod_core
 - dispatching directive 'MaxInstances' to module mod_core
 - dispatching directive 'MaxConnectionRate' to module mod_core
 - dispatching directive 'SocketBindTight' to module mod_core
 - dispatching directive 'UseReverseDNS' to module mod_core
 - dispatching directive 'RootRevoke' to module mod_auth
 - dispatching directive 'DefaultServer' to module mod_core
 - dispatching directive 'MultilineRFC2228' to module mod_core
 - dispatching directive '<IfModule>' to module mod_core
 - <IfModule>: skipping 'mod_delay.c' section
 - FS: using system read()
 - FS: using system read()
 - FS: using system read()
 - Fatal: <IfModule>: unclosed <IfModule> context on line 227 of '/etc/proftpd.conf'


aber irgendwie ... :-)   ist ein Ifmodule ned geschlossen is aber mit </  geschlossen.. in zeile 227 heißt es

223<IfModule mod_tls.c>
224        TLSEngine                       on
225        TLSRSACertificateFile           /etc/ssl/certs/meinserver.tld.cert
226        TLSRSACertificateKeyFile        /etc/ssl/certs/meinserver.tld.key
227</IfModule>

ende... die vhosts hab ich mal weggelassen. :-)

hoffe du hast da evtl auch ne idee da ich in diesen sachen noch nicht so fit bin mache viel über PLESK 8.0 finde ich auch nicht schlecht.
solange man mit einem standartsystem arbeiten kann und mag.. aber das ist leider nicht mehr meine absicht und das schöne linux buch hab ich mir gestern auch noch bestellt.
mfg

euer Wiesel
17  ProFTPD / ProFTPD - Deutsch / Mount in fstab am: 20. September 2006, 15:25:27

next problem:

in der etc/fstab sollten dann alle mount dir´s drinstehen die ich vergeben möchte !?
sonst kann man den mount --bind befehl in der .conf. nicht machen.

wenn ich das richtig verstanden habe.
18  ProFTPD / ProFTPD - Deutsch / Re: User ins Home / Rest in die gewünschten Verzeichnisse am: 20. September 2006, 15:05:00
 - ProFTPD Version: 1.2.10 (stable)
 -   Scoreboard Version: 01040002
 -   Built: Fri Mar 31 14:27:30 NOVST 2006
 -     Module: mod_core.c
 -     Module: mod_xfer.c
 -     Module: mod_auth_unix.c
 -     Module: mod_auth_file.c
 -     Module: mod_auth.c
 -     Module: mod_ls.c
 -     Module: mod_log.c
 -     Module: mod_site.c
 -     Module: mod_auth_pam.c
 -     Module: mod_ratio.c
 -     Module: mod_readme.c
 -     Module: mod_quota.c
 -     Module: mod_tls.c
 -     Module: mod_cap/1.0
19  ProFTPD / ProFTPD - Deutsch / Re: User ins Home / Rest in die gewünschten Verzeichnisse am: 20. September 2006, 15:04:14
- Fatal: unknown configuration directive 'mount' on line 18 of '/etc/proftpd.conf'.


so hier einmal die fehlermeldung

proftpd -d 9
 - mod_tls/2.0.7: using OpenSSL 0.9.7g 11 Apr 2005
 - parsing '/etc/proftpd.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - dispatching directive 'ServerName' to module mod_core
 - dispatching directive 'ServerType' to module mod_core
 - dispatching directive 'DefaultServer' to module mod_core
 - dispatching directive 'DefaultRoot' to module mod_auth
 - dispatching directive 'DefaultRoot' to module mod_auth
 - dispatching directive 'DefaultRoot' to module mod_auth
 - Fatal: unknown configuration directive 'mount' on line 18 of '/etc/proftpd.conf'.
 und die log

mfg

wiesel
20  ProFTPD / ProFTPD - Deutsch / Re: User ins Home / Rest in die gewünschten Verzeichnisse am: 20. September 2006, 14:56:17
 - mod_tls/2.0.7: using OpenSSL 0.9.7g 11 Apr 2005
 - parsing '/etc/proftpd.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - dispatching directive 'ServerName' to module mod_core
 - dispatching directive 'ServerType' to module mod_core
 - dispatching directive 'DefaultServer' to module mod_core
 - dispatching directive 'DefaultRoot' to module mod_auth
 - dispatching directive 'DefaultRoot' to module mod_auth
 - dispatching directive 'DefaultRoot' to module mod_auth
 - dispatching directive '<Global>' to module mod_core
 - dispatching directive 'AllowOverwrite' to module mod_xfer
 - dispatching directive 'AllowForeignAddress' to module mod_core
 - dispatching directive 'AllowRetrieveRestart' to module mod_xfer
 - dispatching directive 'AllowStoreRestart' to module mod_xfer
 - dispatching directive 'AllowOverride' to module mod_core
 - dispatching directive '</Global>' to module mod_core
 - dispatching directive 'DefaultTransferMode' to module mod_core
 - dispatching directive 'UseFtpUsers' to module mod_auth
 - dispatching directive 'Port' to module mod_core
 - dispatching directive 'Umask' to module mod_core
 - dispatching directive 'RequireValidShell' to module mod_auth
 - dispatching directive 'MaxInstances' to module mod_core
 - dispatching directive 'TransferLog' to module mod_core
 - dispatching directive '<Directory>' to module mod_core
 - <Directory /srv/www/vhosts>: adding section for resolved path '/srv/www/vhosts'
 - dispatching directive 'GroupOwner' to module mod_core
 - dispatching directive '</Directory>' to module mod_core
 - dispatching directive 'MaxHostsPerUser' to module mod_auth
 - dispatching directive 'MaxClientsPerHost' to module mod_auth
 - dispatching directive 'TransferRate' to module mod_xfer
 - dispatching directive 'IdentLookups' to module mod_core
 - dispatching directive 'UseReverseDNS' to module mod_core
 - dispatching directive '<VirtualHost>' to module mod_core
 - attempting to resolve 'ftp.xxx' via DNS
 - resolved 'ftp.xxx' to an IPv4 address
 - dispatching directive 'ServerName' to module mod_core
 - dispatching directive 'Port' to module mod_core
 - dispatching directive '<Limit>' to module mod_core
 - dispatching directive 'AllowAll' to module mod_core
 - dispatching directive '</Limit>' to module mod_core
 - dispatching directive '</VirtualHost>' to module mod_core
 - attempting to resolve 'ftp.xxx' via DNS
 - resolved 'ftp.xxx.de' to an IPv4 address
 - attempting to resolve 'xxx' via DNS
 - resolved 'xxx' to an IPv4 address
 - FS: using system read()
 - FS: using system close()
 - attempting to resolve 'xxx' via DNS
 - resolved 'xxx' to an IPv4 address
21  ProFTPD / ProFTPD - Deutsch / Re: User ins Home / Rest in die gewünschten Verzeichnisse am: 20. September 2006, 14:51:48

# To have more informations about Proftpd configuration
# look at : http://www.proftpd.org/
#

# 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                      "Wieselchen"
ServerType  Standalone
DefaultServer                   on
DefaultRoot ~
DefaultRoot /home/ftp/gastrotech wamsler
DefaultRoot /home/ftp/stuff         extern

<Global>
AllowOverwrite          on
AllowForeignAddress     on
AllowRetrieveRestart    on
AllowStoreRestart       on
AllowOverride           on
</Global>
DefaultTransferMode     binary
UseFtpUsers                     on

# Port 21 is the standard FTP port.
Port                            2121
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                           022

RequireValidShell off


# 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

# Primary log file mest be outside of system logrotate province

TransferLog /usr/local/psa/var/log/xferlog

#Change default group for new files and directories in vhosts dir to psacln

<Directory /srv/www/vhosts>
        GroupOwner      psacln
</Directory>
# 3 User per Anmeldung
MaxHostsPerUser                3 "Bitte nur %m mal anmelden"
MaxClientsPerHost              3 "%m mal reicht dir wohl nicht?"
#Max Transferrate
TransferRate RETR              200.0

# delay on login off
IdentLookups off
UseReverseDNS off


<VirtualHost ftp.XXXXXXXXXX >
  ServerName                    "Second virtual ftp-Server"
  Port                          4000

  <Limit LOGIN>
    AllowAll
  </Limit>
</VirtualHost>
22  ProFTPD / ProFTPD - Deutsch / Re: User ins Home / Rest in die gewünschten Verzeichnisse am: 20. September 2006, 14:43:24

So die user sind eingesperrt ins /home/user

wenn ich mich als user der gruppe wamsler anmelde sollte dieser nun gleich in den gastrotech ordner gesperrt sein...

sollte dann mit

DefaultRoot /home/ftp/gastrotech    wamsler     

funktionieren. 

geht aber leider nicht habe ich was vergessen oder soll ich die

mount --bind methode verwenden.
23  ProFTPD / ProFTPD - Deutsch / User ins Home / Rest in die gewünschten Verzeichnisse am: 20. September 2006, 09:34:37
ServerName                      "Wieselchen"
ServerType  Standalone
ServerType  StandAlone
DefaultServer                   on
DefaultRoot ~
DefaultRoot /home/ftp/  extern
DefaultRoot /home/ftp/gastrotech wamsler
DefaultRoot /home/ftp/stuff     friends

<Global>
AllowOverwrite          on
AllowForeignAddress     on
AllowRetrieveRestart    on
AllowStoreRestart       on
AllowOverride           on
</Global>
DefaultTransferMode     binary
UseFtpUsers                     on
Port                            2121
Umask                           022
RequireValidShell off
MaxInstances                    30
TransferLog /usr/local/psa/var/log/xferlog
<Directory /srv/www/vhosts>
        GroupOwner      psacln
</Directory>
# 3 User per Anmeldung
MaxHostsPerUser                3 "Bitte nur %m mal anmelden"
MaxClientsPerHost              3 "%m mal reicht dir wohl nicht?"
#Max Transferrate
TransferRate RETR              200.0
# Enable PAM authentication
AuthPAM on
AuthPAMConfig proftpd
<Directory /srv/www/vhosts>
        GroupOwner      psacln
</Directory>
# 3 User per Anmeldung
MaxHostsPerUser                3 "Bitte nur %m mal anmelden"
MaxClientsPerHost              3 "%m mal reicht dir wohl nicht?"
#Max Transferrate
TransferRate RETR              200.0
# Enable PAM authentication
AuthPAM on
AuthPAMConfig proftpd
# delay on login off
IdentLookups off
UseReverseDNS off

AuthGroupFile   /etc/group

Include /etc/proftpd.include






Trotz defaultroot ~ kann jeder benutzer bis ins / zwar nur gucken aber das ist mir schon zuviel.
wenn jmd eine Idee hat ?

im Prinzip 3 Grp + die home verzeichnisse

- extern
- wamsler
- stuff

dann wollte ich mit mount --bind   dir1   dir2
den Stuffordner zu wamsler und extern mounten hier sollen dann die Zeichnungen liegen. aber das funzt  auch ned ..
Fehler in Zeile X usw.

wenn jmd weiterweis.


mfg

'Wiesel´
Seiten: 1 [2]
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.072 Sekunden mit 15 Zugriffen.