www.ProFTPD.de
13. März 2007, 19:27:12 *
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 [2] 3   Nach unten
  Drucken  
Autor Thema: Nochmal zu Berechtigung der User...  (Gelesen 1222 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
MoD2004
ProFTPD
*
Offline Offline

Beiträge: 14


Profil anzeigen
« Antwort #15 am: 18. Juni 2004, 16:13:17 »

na mein gott jetz kommen wir doch der sache näher... Zwinkernd

also:


Benutzer: upload
Home-Verzeichnis: /home/upload

upload soll in /home/peter nichts downloaden, löschen, umbenennen dürfen.

Fehler: Er kann da aber Dateien downloaden, umbennen, löschen





um mal in deinen worten zu sprechen..  :lol:
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #16 am: 18. Juni 2004, 16:15:48 »

Zitat von: "Wörsty"
Okay. Jetzt atmen alle mal tief durch.

Schreib bitte mit deinen echten Benutzerdaten auf, was du willst.

Dann starte proftpd wie folgt:
proftpd -nd9

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
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #17 am: 18. Juni 2004, 16:15:55 »

Okay. Verstanden. Fehlt nur noch a) deine Aktuelle Konfig und b) die Debug-Ausgabe.

EDIT: Wieso kommt eigentlich upload in Peter sein Homedir rein.

Cool. Reimt sich. Lächelnd
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
MoD2004
ProFTPD
*
Offline Offline

Beiträge: 14


Profil anzeigen
« Antwort #18 am: 18. Juni 2004, 16:25:14 »

user upload kommt natürlich auch in /home/upload/

habs nur bei dir kopiert


und das kommt nach dem eingeben von "proftpd -nd9" damit kann ich nur reingarnix anfangen

Zitat
- parsing '/etc/proftpd.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - FS: using system read()
 - dispatching auth request "getpwnam" to module mod_auth_file
 - dispatching auth request "getpwnam" to module mod_auth_unix
 - dispatching auth request "getgrnam" to module mod_auth_file
 - dispatching auth request "getgrnam" to module mod_auth_unix
 - FS: using system read()
 - FS: using system read()
 - FS: using system read()
 - FS: using system close()
host -
host - Config for ProFTPD server:
host - ServerIdent
host - DefaultServer
host - AccessGrantMsg
host - AllowForeignAddress
host - DeferWelcome
host - DefaultRoot
host - AuthPAMAuthoritative
host - IdentLookups
host - Umask
host - ListOptions
host - AllowRetrieveRestart
host - AllowStoreRestart
host - UserID
host - UserName
host - GroupID
host - GroupName
host - Limit
host -  AllowAll
host - AllowOverwrite
host - dispatching auth request "getgroups" to module mod_auth_file
host - dispatching auth request "getgroups" to module mod_auth_unix
host - SETUP PRIVS at main.c:2704
host - ROOT PRIVS at main.c:1956
host - RELINQUISH PRIVS at main.c:1962
host - ROOT PRIVS at main.c:2323
host - opening scoreboard '/var/run/proftpd.score'
host - RELINQUISH PRIVS at main.c:2347
host - Failed binding to 0.0.0.0, port 9009: Address already in use
host - Check the ServerType directive to ensure you are configured correctly.



die config


Zitat
# This is the ProFTPD configuration file

ServerName         "ProFTPD server"
ServerIdent         on "FTP Server ready."
ServerAdmin         root@localhost
ServerType         standalone
#ServerType         inetd
DefaultServer         on
AccessGrantMsg         "User %u logged in. Welcome!"
AllowForeignAddress      on
#DisplayConnect         /etc/ftpissue
#DisplayLogin         /etc/ftpmotd
#DisplayGoAway         /etc/ftpgoaway
DeferWelcome         off

# Use this to excude users from the chroot
DefaultRoot         ~ !adm

# Use pam to authenticate by default
AuthPAMAuthoritative      on

# Do not perform ident nor DNS lookups (hangs when the port is filtered)
IdentLookups         off
UseReverseDNS         off

# Port 21 is the standard FTP port.
Port            9009

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

# Default to show dot files in directory listings
ListOptions         "-a"

# See Configuration.html for these (here are the default values)
#MultilineRFC2228      off
#RootLogin         off
#LoginPasswordPrompt      on
#MaxLoginAttempts      3
#MaxClientsPerHost      none
#AllowForeignAddress      on   # For FXP


# Allow to resume not only the downloads but the uploads too
AllowRetrieveRestart      on
AllowStoreRestart      on

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

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

# This is where we want to put the pid file
ScoreboardFile         /var/run/proftpd.score

# Normally, we want users to do a few things.
<Global>
  AllowOverwrite      yes
  <Limit ALL SITE_CHMOD>
    AllowAll
  </Limit>
</Global>

# Define the log formats
LogFormat         default   "%h %l %u %t \"%r\" %s %b"
LogFormat         auth   "%v [%P] %h %t \"%r\" %s"

# TLS
# Explained at http://www.castaglia.org/proftpd/modules/mod_tls.html
#TLSEngine         on
#TLSRequired         on
#TLSRSACertificateFile      /usr/share/ssl/certs/proftpd.pem
#TLSRSACertificateKeyFile   /usr/share/ssl/certs/proftpd.pem
#TLSCipherSuite         ALL:!ADH:!DES
#TLSOptions         NoCertRequest
#TLSVerifyClient      off
##TLSRenegotiate      ctrl 3600 data 512000 required off timeout 300
#TLSLog            /var/log/proftpd/tls.log

# A basic anonymous configuration, with an upload directory.
#<Anonymous ~ftp>
#  User            ftp
#  Group            ftp
#  AccessGrantMsg      "Anonymous login ok, restrictions apply."
#
#  # We want clients to be able to login with "anonymous" as well as "ftp"
#  UserAlias         anonymous ftp
#
#  # Limit the maximum number of anonymous logins
#  MaxClients         0 "Sorry, max %m users -- try again later"
#
#  # Put the user into /pub right after login
#  #DefaultChdir         /pub
#
#  # We want 'welcome.msg' displayed at login, '.message' displayed in
#  # each newly chdired directory and tell users to read README* files.
#  DisplayLogin         /welcome.msg
#  DisplayFirstChdir      .message
#  DisplayReadme         README*
#
#  # Some more cosmetic and not vital stuff
#  DirFakeUser         on ftpadm
#  DirFakeGroup         on ftpadm
#
#  # Limit WRITE everywhere in the anonymous chroot
#  <Limit WRITE SITE_CHMOD>
#    DenyAll
#  </Limit>
#
#  # An upload directory that allows storing files but not retrieving
#  # or creating directories.
#  <Directory uploads/*>
#    AllowOverwrite      no
#    <Limit READ>
#      DenyAll
#    </Limit>
#
#    <Limit STOR>
#      AllowAll
#    </Limit>
#  </Directory>
#
#  # Don't write anonymous accesses to the system wtmp file (good idea!)
#  WtmpLog         off
#
#  # Logging for the anonymous transfers
#  ExtendedLog      /var/log/proftpd/access.log WRITE,READ default
#  ExtendedLog      /var/log/proftpd/auth.log AUTH auth
#
#</Anonymous>
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #19 am: 18. Juni 2004, 16:29:41 »

Okay.

1. DefaultRoot ~ !adm  :arrow: Ist upload in der Gruppe adm?
Wenn nicht, dürfte er aus /home/upload gar nicht rauskommen.

2. Zeig mir mal die Stelle wo du jemandem irgendwas verbietest.

3. Verbindest du dich auf Port 9009?

4. Der Server muß vorher gestoppt werden..
   Bitte nochmal killall proftpd und dann proftpd -nd9
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
MoD2004
ProFTPD
*
Offline Offline

Beiträge: 14


Profil anzeigen
« Antwort #20 am: 18. Juni 2004, 16:33:20 »

1. der user upload kommt auch net aus dem ordner raus... kann nur welche in dem /home/upload/ erstellen und da rein...

2. da is jetz nix drin was jemandem was verbietet. da es ja nicht funktioniert hat habe ich die originale config wieder auf dem server...

so. also was müsste man denn da jetz ändern um dem user upload was zu verbieten? fragen ich mal sorum...

mom 3.  und 4. mach ich gleich kam grad erst dazu mom
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #21 am: 18. Juni 2004, 16:38:09 »

Du schreibst:
Zitat von: "MoD2004"
1. der user upload kommt auch net aus dem ordner raus... kann nur welche in dem /home/upload/ erstellen und da rein...


Du schreibst vorher:
Zitat von: "MoD2004"
Benutzer: upload
Home-Verzeichnis: /home/upload

upload soll in /home/peter nichts downloaden, löschen, umbenennen dürfen.

Fehler: Er kann da aber Dateien downloaden, umbennen, löschen


Was denn nun?

Und außerdem mußt du die Konfig schon mit den "nicht gehenden" Verboten spicken.
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
MoD2004
ProFTPD
*
Offline Offline

Beiträge: 14


Profil anzeigen
« Antwort #22 am: 18. Juni 2004, 16:44:59 »

ja ich verbinde per ftp auf port 9009

und so wars gemeint:


Code:
user upload soll in /home/upload nichts downloaden, löschen, umbenennen dürfen.

Fehler: Er kann da aber Dateien downloaden, umbennen, löschen


und nun nochma die ausgabe:


Zitat
[root@host root]# killall proftpd
[root@host root]# proftpd -nd9
 - parsing '/etc/proftpd.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - FS: using system read()
 - dispatching auth request "getpwnam" to module mod_auth_file
 - dispatching auth request "getpwnam" to module mod_auth_unix
 - dispatching auth request "getgrnam" to module mod_auth_file
 - dispatching auth request "getgrnam" to module mod_auth_unix
 - FS: using system read()
 - FS: using system read()
 - FS: using system read()
 - FS: using system close()
host -
host - Config for ProFTPD server:
host - ServerIdent
host - DefaultServer
host - AccessGrantMsg
host - AllowForeignAddress
host - DeferWelcome
host - DefaultRoot
host - AuthPAMAuthoritative
host - IdentLookups
host - Umask
host - ListOptions
host - AllowRetrieveRestart
host - AllowStoreRestart
host - UserID
host - UserName
host - GroupID
host - GroupName
host - Limit
host -  AllowAll
host - AllowOverwrite
host - dispatching auth request "getgroups" to module mod_auth_file
host - dispatching auth request "getgroups" to module mod_auth_unix
host - SETUP PRIVS at main.c:2704
host - ROOT PRIVS at main.c:1956
host - RELINQUISH PRIVS at main.c:1962
host - ROOT PRIVS at main.c:2323
host - opening scoreboard '/var/run/proftpd.score'
host - RELINQUISH PRIVS at main.c:2347
host - ProFTPD 1.2.9 (stable) (built Son Dez 21 16:47:33 CET 2003) standalone mo
de STARTUP
host - ROOT PRIVS at main.c:2171
host - RELINQUISH PRIVS at main.c:2177
host - FS: using system lstat()
host - scrubbing scoreboard
host - ROOT PRIVS at mod_core.c:194
host - RELINQUISH PRIVS at mod_core.c:201
host - ROOT PRIVS at mod_core.c:223
host - RELINQUISH PRIVS at mod_core.c:251
host - FS: using system lstat()
host - scrubbing scoreboard
host - ROOT PRIVS at mod_core.c:194
host - RELINQUISH PRIVS at mod_core.c:201
host - ROOT PRIVS at mod_core.c:223
host - RELINQUISH PRIVS at mod_core.c:251
host - FS: using system lstat()
host - scrubbing scoreboard
host - ROOT PRIVS at mod_core.c:194
host - RELINQUISH PRIVS at mod_core.c:201
host - ROOT PRIVS at mod_core.c:223
host - RELINQUISH PRIVS at mod_core.c:251
host - FS: using system lstat()
host - scrubbing scoreboard
host - ROOT PRIVS at mod_core.c:194
host - RELINQUISH PRIVS at mod_core.c:201
host - ROOT PRIVS at mod_core.c:223
host - RELINQUISH PRIVS at mod_core.c:251
host - FS: using system lstat()
host - ProFTPD terminating (signal 2)
host - ROOT PRIVS at main.c:1838
host - RELINQUISH PRIVS at main.c:1859
host - ProFTPD 1.2.9 standalone mode SHUTDOWN
host - ROOT PRIVS at main.c:1866
host - RELINQUISH PRIVS at main.c:1868
[root@host root]#
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #23 am: 18. Juni 2004, 16:49:28 »

Nun noch Punkt 2 reinschreiben und nochmal das Ganze.
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
MoD2004
ProFTPD
*
Offline Offline

Beiträge: 14


Profil anzeigen
« Antwort #24 am: 18. Juni 2004, 16:57:55 »

Zitat
# This is the ProFTPD configuration file

ServerName         "ProFTPD server"
ServerIdent         on "FTP Server ready."
ServerAdmin         root@localhost
ServerType         standalone
#ServerType         inetd
DefaultServer         on
AccessGrantMsg         "User %u logged in. Welcome!"
AllowForeignAddress      on
#DisplayConnect         /etc/ftpissue
#DisplayLogin         /etc/ftpmotd
#DisplayGoAway         /etc/ftpgoaway
DeferWelcome         off

# Use this to excude users from the chroot
DefaultRoot         ~ !adm

# Use pam to authenticate by default
AuthPAMAuthoritative      on

# Do not perform ident nor DNS lookups (hangs when the port is filtered)
IdentLookups         off
UseReverseDNS         off

# Port 21 is the standard FTP port.
Port            9009

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

# Default to show dot files in directory listings
ListOptions         "-a"

# See Configuration.html for these (here are the default values)
#MultilineRFC2228      off
#RootLogin         off
#LoginPasswordPrompt      on
#MaxLoginAttempts      3
#MaxClientsPerHost      none
#AllowForeignAddress      on   # For FXP


# Allow to resume not only the downloads but the uploads too
AllowRetrieveRestart      on
AllowStoreRestart      on

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

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

# This is where we want to put the pid file
ScoreboardFile         /var/run/proftpd.score

# Normally, we want users to do a few things.
<Global>
  AllowOverwrite      yes
 <Limit STOR>
    AllowAll
  </Limit>
  <Limit DELE RETR>
    DenyAll
  </Limit>
</Global>

# Define the log formats
LogFormat         default   "%h %l %u %t \"%r\" %s %b"
LogFormat         auth   "%v [%P] %h %t \"%r\" %s"

# TLS
# Explained at http://www.castaglia.org/proftpd/modules/mod_tls.html
#TLSEngine         on
#TLSRequired         on
#TLSRSACertificateFile      /usr/share/ssl/certs/proftpd.pem
#TLSRSACertificateKeyFile   /usr/share/ssl/certs/proftpd.pem
#TLSCipherSuite         ALL:!ADH:!DES
#TLSOptions         NoCertRequest
#TLSVerifyClient      off
##TLSRenegotiate      ctrl 3600 data 512000 required off timeout 300
#TLSLog            /var/log/proftpd/tls.log

# A basic anonymous configuration, with an upload directory.
#<Anonymous ~ftp>
#  User            ftp
#  Group            ftp
#  AccessGrantMsg      "Anonymous login ok, restrictions apply."
#
#  # We want clients to be able to login with "anonymous" as well as "ftp"
#  UserAlias         anonymous ftp
#
#  # Limit the maximum number of anonymous logins
#  MaxClients         0 "Sorry, max %m users -- try again later"
#
#  # Put the user into /pub right after login
#  #DefaultChdir         /pub
#
#  # We want 'welcome.msg' displayed at login, '.message' displayed in
#  # each newly chdired directory and tell users to read README* files.
#  DisplayLogin         /welcome.msg
#  DisplayFirstChdir      .message
#  DisplayReadme         README*
#
#  # Some more cosmetic and not vital stuff
#  DirFakeUser         on ftpadm
#  DirFakeGroup         on ftpadm
#
#  # Limit WRITE everywhere in the anonymous chroot
#  <Limit WRITE SITE_CHMOD>
#    DenyAll
#  </Limit>
#
#  # An upload directory that allows storing files but not retrieving
#  # or creating directories.
#  <Directory uploads/*>
#    AllowOverwrite      no
#    <Limit READ>
#      DenyAll
#    </Limit>
#
#    <Limit STOR>
#      AllowAll
#    </Limit>
#  </Directory>
#
#  # Don't write anonymous accesses to the system wtmp file (good idea!)
#  WtmpLog         off
#
#  # Logging for the anonymous transfers
#  ExtendedLog      /var/log/proftpd/access.log WRITE,READ default
#  ExtendedLog      /var/log/proftpd/auth.log AUTH auth
#
#</Anonymous>



oder wie? ich blick das net mehr lol das kann doch garnet so schwer sein...
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #25 am: 18. Juni 2004, 17:02:30 »

Beispiel kein Lösch-/Schreibrecht:

Code:
 <Directory ~>

   <Limit WRITE DELE>
      DenyAll
    </Limit>

    <Limit READ DIRS>
      IgnoreHidden On
      AllowAll
    </Limit>

  </Directory>


Unterverzeichnis uploads mit Schreibrecht aber ohne Löschrecht:

 
Code:
<Directory ~/uploads>

    <Limit SITE_CHMOD DELE>
      DenyAll
    </Limit>

    <Limit WRITE READ DIRS>
      AllowAll
      DenyAll
    </Limit>
  </Directory>
 
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
MoD2004
ProFTPD
*
Offline Offline

Beiträge: 14


Profil anzeigen
« Antwort #26 am: 18. Juni 2004, 17:07:07 »

Zitat
# This is the ProFTPD configuration file

ServerName         "ProFTPD server"
ServerIdent         on "FTP Server ready."
ServerAdmin         root@localhost
ServerType         standalone
#ServerType         inetd
DefaultServer         on
AccessGrantMsg         "User %u logged in. Welcome!"
AllowForeignAddress      on
#DisplayConnect         /etc/ftpissue
#DisplayLogin         /etc/ftpmotd
#DisplayGoAway         /etc/ftpgoaway
DeferWelcome         off

# Use this to excude users from the chroot
DefaultRoot         ~ !adm

# Use pam to authenticate by default
AuthPAMAuthoritative      on

# Do not perform ident nor DNS lookups (hangs when the port is filtered)
IdentLookups         off
UseReverseDNS         off

# Port 21 is the standard FTP port.
Port            9009

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

# Default to show dot files in directory listings
ListOptions         "-a"

# See Configuration.html for these (here are the default values)
#MultilineRFC2228      off
#RootLogin         off
#LoginPasswordPrompt      on
#MaxLoginAttempts      3
#MaxClientsPerHost      none
#AllowForeignAddress      on   # For FXP


# Allow to resume not only the downloads but the uploads too
AllowRetrieveRestart      on
AllowStoreRestart      on

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

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

# This is where we want to put the pid file
ScoreboardFile         /var/run/proftpd.score

# Normally, we want users to do a few things.
<Directory ~/upload>

<Limit SITE_CHMOD DELE>
DenyAll
</Limit>

<Limit WRITE READ DIRS>
AllowAll
DenyAll
</Limit>
</Directory>




# Define the log formats
LogFormat         default   "%h %l %u %t \"%r\" %s %b"
LogFormat         auth   "%v [%P] %h %t \"%r\" %s"

# TLS
# Explained at http://www.castaglia.org/proftpd/modules/mod_tls.html
#TLSEngine         on
#TLSRequired         on
#TLSRSACertificateFile      /usr/share/ssl/certs/proftpd.pem
#TLSRSACertificateKeyFile   /usr/share/ssl/certs/proftpd.pem
#TLSCipherSuite         ALL:!ADH:!DES
#TLSOptions         NoCertRequest
#TLSVerifyClient      off
##TLSRenegotiate      ctrl 3600 data 512000 required off timeout 300
#TLSLog            /var/log/proftpd/tls.log

# A basic anonymous configuration, with an upload directory.
#<Anonymous ~ftp>
#  User            ftp
#  Group            ftp
#  AccessGrantMsg      "Anonymous login ok, restrictions apply."
#
#  # We want clients to be able to login with "anonymous" as well as "ftp"
#  UserAlias         anonymous ftp
#
#  # Limit the maximum number of anonymous logins
#  MaxClients         0 "Sorry, max %m users -- try again later"
#
#  # Put the user into /pub right after login
#  #DefaultChdir         /pub
#
#  # We want 'welcome.msg' displayed at login, '.message' displayed in
#  # each newly chdired directory and tell users to read README* files.
#  DisplayLogin         /welcome.msg
#  DisplayFirstChdir      .message
#  DisplayReadme         README*
#
#  # Some more cosmetic and not vital stuff
#  DirFakeUser         on ftpadm
#  DirFakeGroup         on ftpadm
#
#  # Limit WRITE everywhere in the anonymous chroot
#  <Limit WRITE SITE_CHMOD>
#    DenyAll
#  </Limit>
#
#  # An upload directory that allows storing files but not retrieving
#  # or creating directories.
#  <Directory uploads/*>
#    AllowOverwrite      no
#    <Limit READ>
#      DenyAll
#    </Limit>
#
#    <Limit STOR>
#      AllowAll
#    </Limit>
#  </Directory>
#
#  # Don't write anonymous accesses to the system wtmp file (good idea!)
#  WtmpLog         off
#
#  # Logging for the anonymous transfers
#  ExtendedLog      /var/log/proftpd/access.log WRITE,READ default
#  ExtendedLog      /var/log/proftpd/auth.log AUTH auth
#
#</Anonymous>



wenn ich mich nun per user upload einlogge aufn ftp kann ich aber immernoch löschen...
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #27 am: 18. Juni 2004, 18:20:19 »

Na sicher.

Wenn du den Teil vergißt, ist das logisch:

 
Code:
<Directory ~>

   <Limit WRITE DELE>
      DenyAll
    </Limit>

    <Limit READ DIRS>
      IgnoreHidden On
      AllowAll
    </Limit>

  </Directory>
Stellst du dich wirklich so an?

Gib dir doch mal Mühe, zu verstehen WAS du da machst.
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
MoD2004
ProFTPD
*
Offline Offline

Beiträge: 14


Profil anzeigen
« Antwort #28 am: 18. Juni 2004, 18:25:32 »

wenn man das noch nie gemacht hat kann mans nunma nich.. wenn ichs einma (wenns ma was werden sollte) richtig hab vergess ich das auch net mehr... aber woher soll mans vorher wissen?

das gib ma ne richtige angabe was (komplett" wo rein soll bzw was ersetzt werden soll... dann is doch ok dann weiss man das wenigstens und beim nächsten ma hat man keine probs mehr...
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #29 am: 18. Juni 2004, 18:32:43 »

Ja, nee. Aber genau das habe ich ja vorhin gepostet.
Und du hast nur die Hälfte übernommen.
Da brauchste dich nich wundern :lol:

Nix für ungut. Wird schon noch :wink:

Geht's denn inzwischen? :shock:
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Seiten: 1 [2] 3   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.121 Sekunden mit 16 Zugriffen.