Folgendes: Immo bin ich gerade dabei nen Server einzurichten der als Datenserver im netz hängen soll, Upload/Download ist per PHP script möglich (funktioniert auch wunderbar
). Wollte nun analog dazu verschiende FTP Konten einrichten mit denen die User ebenfalls auf das Upload/Download Verzeichnis des Scripts zugreifen können.
Problem ist klappt nich
[10:10:11] USER testftp
[10:10:11] 331 Password required for testftp.
[10:10:11] PASS (hidden)
[10:10:11] 530 Login incorrect.
Das wäre die config, Gruppe und User sind richtig gesetzt
#
# 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 "ProFTPD"
ServerType inetd
ServerType inetd
DefaultServer on
<Global>
DefaultRoot ~ psacln
DefaultRoot /var/www/vhosts/domain/httpdocs/[...]/filestorage testgroup
AllowOverwrite on
</Global>
DefaultTransferMode binary
UseFtpUsers on
# 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
#Following part of this config file were generate by PSA automatically
#Any changes in this part will be overwritten by next manipulation
#with Anonymous FTP feature in PSA control panel.
#Include directive should point to place where FTP Virtual Hosts configurations
#preserved
ScoreboardFile /var/run/proftpd/scoreboard
# 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 /var/www/vhosts>
GroupOwner psacln
</Directory>
<Directory /var/www/vhosts/domain/httpdocs/[...]/filestorage>
GroupOwner testgroup
</Directory>
# Disable PAM authentication
AuthPAM off
# delay on login off
IdentLookups off
UseReverseDNS off
RequireValidShell off
Include /etc/proftpd.include
h994289:~ # proftpd -n -d5
- mod_tls/2.0.7: using OpenSSL 0.9.7e 25 Oct 2004
- parsing '/etc/proftpd.conf' configuration
- <Directory /var/www/vhosts>: adding section for resolved path '/var/www/vhost
s'
- <Directory /var/www/vhosts/peters-ftp.de/httpdocs/bytehoarder/filestorage>: a
dding section for resolved path '/var/www/vhosts/peters-ftp.de/httpdocs/bytehoar
der/filestorage'
- parsing '/etc/proftpd.include' configuration
h994289.serverkompetenz.net -
h994289.serverkompetenz.net - Config for ProFTPD:
h994289.serverkompetenz.net - /var/www/vhosts
h994289.serverkompetenz.net - /var/www/vhosts/peters-ftp.de/httpdocs/bytehoarde
r/filestorage
h994289.serverkompetenz.net - GroupOwner
h994289.serverkompetenz.net - UseFtpUsers
h994289.serverkompetenz.net - Umask
h994289.serverkompetenz.net - TransferLog
h994289.serverkompetenz.net - RequireValidShell
h994289.serverkompetenz.net - AllowOverwrite
h994289.serverkompetenz.net - GroupOwner
h994289.serverkompetenz.net - UseFtpUsers
h994289.serverkompetenz.net - Umask
h994289.serverkompetenz.net - TransferLog
h994289.serverkompetenz.net - RequireValidShell
h994289.serverkompetenz.net - AllowOverwrite
h994289.serverkompetenz.net - Limit
h994289.serverkompetenz.net - DenyGroup
h994289.serverkompetenz.net - DefaultServer
h994289.serverkompetenz.net - DefaultTransferMode
h994289.serverkompetenz.net - UseFtpUsers
h994289.serverkompetenz.net - Umask
h994289.serverkompetenz.net - TransferLog
h994289.serverkompetenz.net - AuthPAM
h994289.serverkompetenz.net - IdentLookups
h994289.serverkompetenz.net - RequireValidShell
h994289.serverkompetenz.net - DefaultRoot
h994289.serverkompetenz.net - DefaultRoot
h994289.serverkompetenz.net - AllowOverwrite
h994289.serverkompetenz.net - fatal: Socket operation on non-socket
h994289.serverkompetenz.net - (Running from command line? Use `ServerType standa
lone' in config file!)
und's logfile :/
bin mit meinem wenigen latein relativ am ende ^^ komisch ist nur das wenn ich ganz normale user einrichte mit eigenem Homeverzeichnis der Login problemlos klappt.
/EDIT
OS: Ist Suse 9.3