Die FTP user sollen über die DATENBANK erstellt berabeitet und gelöscht werden können
Ich hab keine ahnung wie das funktionieren soll
So sieht meine config nach 6 stunden langen suchen auf http://www.proftpd.de, google und in diesen forum aus
- Code: Select all
# Port 21 is the standard FTP port.
Port 21
# 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 that the server normally runs at.
ServerName "ProFTPD"
ServerType standalone
# Normally, we want files to be overwriteable.
<Directory /opt/lampp/htdocs/*>
AllowOverwrite on
</Directory>
# only for the web servers content
DefaultRoot ~
# nobody gets the password "lampp"
# commented out by lampp security
#UserPassword nobody wRPBu8u4YP0CY
#UserPassword nobody 4cK5.t.q1.3OU
# nobody is no normal user so we have to allow users with no real shell
RequireValidShell off
# nobody may be in /etc/ftpusers so we also have to ignore this file
UseFtpUsers Off
SQLAuthTypes Plaintext
SQLHomedirOnDemand on
SQLAuthenticate users*
SQLConnectInfo ftp@localhost ADMIN pizza PERSESSION
SQLDefaultHomedir /opt/lampp/htdocs/users/
SQLUserInfo users userid passwd uid gid homedir shell
SQLMinUserUID 500
Ich hab schon ne datenbank mit dem namen ftp und dan diese SQL befehle ausgeführt wofür sind die ??
- Code: Select all
# MySQL dump 8.13
#
# Host: localhost Database: proftpd
#--------------------------------------------------------
# Server version 3.23.37-log
#
# Table structure for table 'ftp'
#
CREATE TABLE ftp (
username varchar(60) binary default NULL,
uid int(11) default NULL,
gid int(11) default NULL,
password varchar(30) default NULL,
homedir varchar(250) default NULL,
count int(11) default NULL,
ui bigint(20) NOT NULL auto_increment,
shell varchar(60) default NULL,
letzter_zugriff datetime default NULL,
zugang char(1) default NULL,
PRIMARY KEY (ui)
) TYPE=ISAM PACK_KEYS=1;
#
# Table structure for table 'xfer_stat'
#
CREATE TABLE xfer_stat (
username tinytext,
filename text,
size bigint(20) default NULL,
host tinytext,
ip tinytext,
aktion tinytext,
dauer tinytext,
zeit_lokal datetime default NULL,
success char(1) default NULL,
ui bigint(20) NOT NULL auto_increment,
PRIMARY KEY (ui)
) TYPE=MyISAM;
mus ich ProFTPD noch kompilieren ?? wie in der anleitung auf
http://www.proftpd.de/HowTo__SQL.29.0.html
Der Pro Ftp server startet auch und macht keine fehlermeldungen leider hab ich keine ahnung wi eman jetzt einen FTP user macht der sich da einloggen kann