www.ProFTPD.de
13. März 2007, 21:42:53 *
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]
1  ProFTPD / ProFTPD - Deutsch / Re: PRoftpd ist Gestarted doch... am: 31. Mai 2006, 05:25:52
ahh.. Ich hab jetzt alles vielen dank für deine hilfe VolGas. Zwinkernd Alles Funzt einwandfrei
Grüße und Danke Nochma
2  ProFTPD / ProFTPD - Deutsch / Re: PRoftpd ist Gestarted doch... am: 29. Mai 2006, 19:16:33
So Endlich hab ich den user ins server bekommen aber einige probleme hab ich noch....

UID & GID
Code:
server01: id ftp
uid=40(ftp) gid=49(ftp) groups=49(ftp)
PROFTPD.CONF
Code:
server01:/home # cat /usr/local/etc/proftpd.conf
# 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                      "XxX.De PROFTPD"
ServerType                      standalone
# DefaultServer                         on
AllowForeignAddress             on
RequireValidShell               off
SQLLOGFILE /var/log/proftpd.sql.log

# Port 21 is the standard FTP port.
Port                            2121

SQLAuthTypes Plaintext
SQLAuthenticate users*
SQLConnectInfo proftpd@localhost prouser passwd
SQLDefaultGID 65534
SQLDefaultUID 65534
SQLMinUserGID  100
SQLMinUserUID            500
SQLUserInfo ftp username password uid gid homedir NULL
AuthOrder mod_sql.c

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

# 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 under which the server will run.
User                            ftp
Group                           ftp

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

# Normally, we want files to be overwriteable.
AllowOverwrite          on

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
  DenyAll
</Limit>

# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
  User                          nouser
  Group                         nogroup

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

  # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
  DisplayLogin                  welcome.msg
  DisplayFirstChdir             .message

  # Limit WRITE everywhere in the anonymous chroot
  <Limit WRITE>
    DenyAll
  </Limit>
</Anonymous>

AllowForeignAddress             on
Und
Port 2121 weil ich es FXable haben wollte[fxp]

DefaultServer ist deswegen auskommentiert weil in faQ steht das fxp
per default nicht geht.
ich habs auch auskommentiert, auch dan ging kein fxp

Datenbank Eintrag:
Code:
username  uid  gid  password  homedir  count  ui  shell  letzter_zugriff  zugang 
servadmin 40 49 adminpass /home/ftp 0 0 NULL 2006-05-24 14:50:24 1

So jetzt hab ich chown ftp.ftp /home/ftp gemacht.
Doch wenn ich mich jetzt mit user einloge komme ich ins "/" also serverhauptverzeichniss.
Obwohl defaultroot ja nicht auskommentiert ist.
wenn ich dan aber auch ins /home/ftp rein gehe..
Kann ich nichts upoloaden, oder fxp ??
Was ist jetzt das problem..
3  ProFTPD / ProFTPD - Deutsch / Re: PRoftpd ist Gestarted doch... am: 28. Mai 2006, 15:30:25
Ich habe alles gemacht was du gesagt hast..

nur AuthOrder mod_sql.c
Das hab ich nicht kapiert..
Soll ich das ins config rein schreiben ?
Hab ich gemacht aber dan started proftpd nicht mehr, dan gibts nen fehler :-/

Ich komm mit den Usern die auf DB sind nicht ins verzeichniss.
Code:
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - servadmin chdir("/srv/www/htdocs/webx/html/xxx"): Permission denied
Wie soll ich ihm die rechte geben damit er da rein kommen kann ??
Is ja kein systemuser ?
4  ProFTPD / ProFTPD - Deutsch / Re: PRoftpd ist Gestarted doch... am: 26. Mai 2006, 20:26:54
Ich habe defaultRoot Wieder kommentiert # Aber der will mich trozdem nicht Einlogen.
Wenn ich mich einlogen will kommt folgendes.

Code:
[L] Connecting to 217.172.x.x -> IP=217.172.x.x PORT=8181
[L] Connected to 217.172.x.x
[L] 220 ProFTPD 1.3.0 Server (x.x.x PROFTPD) [217.x.x]
[L] USER servadmin
[L] 331 Password required for servadmin.
[L] PASS (hidden)
[L] 530 Login incorrect.

In datenbank so Angelegt:
Code:
  username  uid  gid  password  homedir  count  ui  shell  letzter_zugriff  zugang 
  servadmin 600 200 passwd /srv/www/htdocs/webx/html/xxx 0 0 no 2006-05-24 14:50:24 1

Und wenn ich mich einloge und die Logs anschaue:
Code:
server01:~ # proftpd -n -d5
 - parsing '/usr/local/etc/proftpd.conf' configuration
 - SQLAuthenticate: use of * in SQLAuthenticate has been deprecated.  Use AuthOrder for setting authoritativeness
server01 -
server01 - Config for xxx.De PROFTPD:
server01 - ~ftp/
server01 -  Limit
server01 -   DenyAll
server01 -  UserName
server01 -  GroupName
server01 -  MaxClients
server01 -  DisplayLogin
server01 -  DisplayFirstChdir
server01 -  AllowForeignAddress
server01 -  RequireValidShell
server01 -  SQLAuthTypes
server01 -  SQLAuthenticate
server01 -  SQLConnectInfo
server01 -  SQLDefaultGID
server01 -  SQLDefaultUID
server01 -  SQLMinUserGID
server01 -  SQLMinUserUID
server01 -  Umask
server01 -  AllowOverwrite
server01 - Limit
server01 -  DenyAll
server01 - AllowForeignAddress
server01 - RequireValidShell
server01 - SQLLogFile
server01 - SQLAuthTypes
server01 - SQLAuthenticate
server01 - SQLConnectInfo
server01 - SQLDefaultGID
server01 - SQLDefaultUID
server01 - SQLMinUserGID
server01 - SQLMinUserUID
server01 - SQLUserTable
server01 - SQLUsernameField
server01 - SQLPasswordField
server01 - SQLUidField
server01 - SQLGidField
server01 - SQLHomedirField
server01 - SQLShellField
server01 - Umask
server01 - UserID
server01 - UserName
server01 - GroupID
server01 - GroupName
server01 - AllowOverwrite
server01 - ProFTPD 1.3.0 (stable) (built Tue May 9 17:39:39 CEST 2006) standalone mode STARTUP
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - FTP session requested from unknown class
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - connected - local  : 217.172.x.x:8181
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - connected - remote : 84.63.x.x:61380
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - FTP session opened.
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - dispatching PRE_CMD command 'USER servadmin' to mod_core
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - dispatching PRE_CMD command 'USER servadmin' to mod_core
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - dispatching PRE_CMD command 'USER servadmin' to mod_delay
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - dispatching PRE_CMD command 'USER servadmin' to mod_auth
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - dispatching CMD command 'USER servadmin' to mod_auth
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - dispatching POST_CMD command 'USER servadmin' to mod_sql
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - dispatching POST_CMD command 'USER servadmin' to mod_delay
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - dispatching LOG_CMD command 'USER servadmin' to mod_sql
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - dispatching LOG_CMD command 'USER servadmin' to mod_log
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_sql
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - dispatching CMD command 'PASS (hidden)' to mod_auth
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - user servadmin authenticated by mod_auth_pam.c
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - Config for xxx.De PROFTPD:
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - ~ftp/
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  Limit
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -   DenyAll
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  UserName
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  GroupName
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  MaxClients
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  DisplayLogin
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  DisplayFirstChdir
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  AllowForeignAddress
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  RequireValidShell
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  SQLAuthTypes
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  SQLAuthenticate
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  SQLConnectInfo
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  SQLDefaultGID
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  SQLDefaultUID
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  SQLMinUserGID
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  SQLMinUserUID
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  Umask
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  AllowOverwrite
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - Limit
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) -  DenyAll
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - AllowForeignAddress
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - RequireValidShell
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - SQLLogFile
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - SQLAuthTypes
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - SQLAuthenticate
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - SQLConnectInfo
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - SQLDefaultGID
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - SQLDefaultUID
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - SQLMinUserGID
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - SQLMinUserUID
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - SQLUserTable
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - SQLUsernameField
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - SQLPasswordField
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - SQLUidField
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - SQLGidField
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - SQLHomedirField
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - SQLShellField
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - Umask
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - UserID
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - UserName
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - GroupID
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - GroupName
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - AllowOverwrite
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - CURRENT-CLIENTS
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - USER
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - USER servadmin: Login successful.
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - servadmin chdir("/srv/www/htdocs/webx/html/xxx"): Permission denied
server01 (dslb-084-063-1xx-2xx.pools.arcor-ip.net[84.63.x.x]) - FTP session closed.
Warum Permission Denied ??:-/
Was mach ich falsch?
Danke Für eure Hilfe.
Mfg
5  ProFTPD / ProFTPD - Deutsch / Re: PRoftpd ist Gestarted doch... am: 24. Mai 2006, 15:11:45
Ah Ich Habs Jetztt.... Bei der Config hattte ich folgendes
Code:
SQLConnectInfo db@localhost prouser pass

hab vergessen es zu editieren Smiley
Code:
SQLConnectInfo proftpd@localhost prouser pass

Doch jetzt hab ich wieder ein problem..
Hab in DB so ein user angelegt
Code:
  username  uid  gid  password  homedir  count  ui  shell  letzter_zugriff  zugang 
      admin 1 1 passwd /home 1 1 1 2006-05-24 14:50:24 1
doch ich komm mit
admin passwd nicht rein was ist mein prob ?Traurig
6  ProFTPD / ProFTPD - Deutsch / PRoftpd ist Gestarted doch... am: 24. Mai 2006, 15:04:35
So Hallo erstma, Ich hab da wieder einen prob. mit mein proftd.
ich habe proftpd so configt:
Code:
./configure --with-modules=mod_sql:mod_sql_mysql
--with-includes=/usr/include/mysql
--with-libraries=/var/lib/mysql/mysql
Und So Versuche ich es zu starten
Code:
proftpd -n -d5
Folgendes Kommt dan:
Code:
server01:/home/proftpd-1.3.0 # proftpd -n -d5
 - parsing '/usr/local/etc/proftpd.conf' configuration
 - SQLAuthenticate: use of * in SQLAuthenticate has been deprecated.  Use AuthOrder for setting authoritativeness
server01 -
server01 - Config for TrEMpe3.De PROFTPD:
server01 - ~ftp/
server01 -  Limit
server01 -   DenyAll
server01 -  UserName
server01 -  GroupName
server01 -  UserAlias
server01 -  MaxClients
server01 -  DisplayLogin
server01 -  DisplayFirstChdir
server01 -  AllowForeignAddress
server01 -  SQLAuthTypes
server01 -  SQLAuthenticate
server01 -  SQLConnectInfo
server01 -  SQLDefaultGID
server01 -  SQLDefaultUID
server01 -  SQLMinUserGID
server01 -  SQLMinUserUID
server01 -  Umask
server01 -  AllowOverwrite
server01 - Limit
server01 -  DenyAll
server01 - DefaultServer
server01 - AllowForeignAddress
server01 - SQLLogFile
server01 - SQLAuthTypes
server01 - SQLAuthenticate
server01 - SQLConnectInfo
server01 - SQLDefaultGID
server01 - SQLDefaultUID
server01 - SQLMinUserGID
server01 - SQLMinUserUID
server01 - SQLUserTable
server01 - SQLUsernameField
server01 - SQLPasswordField
server01 - SQLUidField
server01 - SQLGidField
server01 - SQLHomedirField
server01 - SQLShellField
server01 - Umask
server01 - UserID
server01 - UserName
server01 - GroupID
server01 - GroupName
server01 - AllowOverwrite
server01 - ProFTPD 1.3.0 (stable) (built Tue May 9 17:39:39 CEST 2006) standalone mode STARTUP
server01 (dslb-084-063-160-201.pools.arcor-ip.net[84.63.x.x]) - FTP session requested from unknown class
Ich wollte das der server auf port: 8181 läuft.
Jetzt versuche ich mich zu verbinden
und da kommt
Code:
[R] Connecting to 217.172.186.179 -> IP=217.172.186.179 PORT=8181
[R] Connected to 217.172.186.179
[R] Verbindung fehlgeschlagen (Verbindung verloren)
[R] Delaying for 120 seconds before reconnect attempt #1
[R] Wiederholungversuch abgebrochen

Edit: So Sieht mein .conf aus
Code:
server01:/ # cat /usr/local/etc/proftpd.conf
# 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                      "MY PROFTPD"
ServerType                      standalone
DefaultServer                   on
AllowForeignAddress on
SQLLOGFILE /var/log/proftpd.sql.log

# Port 21 is the standard FTP port.
Port                            8181

SQLAuthTypes Plaintext
SQLAuthenticate users*
SQLConnectInfo db@localhost prouser pass
SQLDefaultGID 65534
SQLDefaultUID 65534
SQLMinUserGID  100
SQLMinUserUID            500
SQLUserInfo ftp username password uid gid homedir shell

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

# 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 under which the server will run.
User                            nobody
Group                           nogroup

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~

# Normally, we want files to be overwriteable.
AllowOverwrite          on

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
  DenyAll
</Limit>

# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
  User                          ftp
  Group                         ftp

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

  # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
  DisplayLogin                  welcome.msg
  DisplayFirstChdir             .message

  # Limit WRITE everywhere in the anonymous chroot
  <Limit WRITE>
    DenyAll
  </Limit>
</Anonymous>
Was ist das Problem ?Traurig
Ich hoffe das mir einer weiterhelfen kann.
Grüße
7  ProFTPD / ProFTPD - Deutsch / für Bestimmte gruppen Rechte.. am: 23. Juni 2005, 20:58:35
hallo..
Ich habe da eine frage unzwar wäre das:

Ich will das mein proftpd mehreren Gruppen Zugriff zuweißt Auf FTP.
Ist das möglich ?
wenn ja wie..?

Danach Würd ich gern wissen Kann man dieses Gruppe Bestimmte Rechte geben...

wie z.B keiner aus dieser gruppe darf löschen...

__

Wenn das nicht geht ...
Dan kommt diese Frage:
Wie kann man bestimmten usernamen, Lösch rechte weg nehmen ?

mfg
8  ProFTPD / ProFTPD - Deutsch / fehlermeldung am: 20. Juni 2005, 15:28:49
Ah Ich habs...

Doch jezt gibt er eienen anderen fehler *g*

er erkennt

'SQLUserInfo' nicht...

Code:

 - Fatal: SQLUserInfo: missing parameters on line 60 of '/usr/local/etc/proftpd.conf'
Seiten: [1]
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.076 Sekunden mit 16 Zugriffen.