www.ProFTPD.de

ProFTPD => ProFTPD - Deutsch => Thema gestartet von: Thunder am 01. November 2005, 17:54:24



Titel: Nach Plesk Installation nur noch bedingt FTP zugriff
Beitrag von: Thunder am 01. November 2005, 17:54:24
Hallo zusammen,
ich habe folgendes Problem:
Ich habe auf meinem Linux Root Plesk installiert, dieses hat als FTP Daemon automatisch proftpd installiert. Allerdings nicht als Standalone, sondern als inted. Über die in Plesk angelegen Benutzer funktioniert der FTP Zugriff wunderbar. Allerdings habe ich auch Benutzer, die ich ohne dass ich sie vorher in Plesk angelegt habe, Zugriff auf ein bestimmtes Verzeichnis auf dem Server haben müssen (selbstverständlich über FTP). z.B. auf /opt/cs für einen vermieteten CS Server. Ich habe mir mal die Benutzer die Plesk anlegt näher angeschaut, diese Benutzer sind alle in der Benutzergruppe "psacln". Lege ich allerdings einen Benutzer im Webmin an, nehmen ihn in die Gruppe "psacln" auf, gebe ihm das Home Verzeichnis /opt/cs, stelle die Shell auf /bin/false (Requirevalidshell in der config auf "off"), bekomme ich ständig "login incorrect". Da der proftp Daemon von Plesk installiert wurde und ich mir Sorgen mache, dass wenn ich jetzt selber an der Config rumspiel nachher garnix mehr geht, hoffe ich auf die Kompetenz der Forenmitglieder ;).

Hier meine proftpd Config:

Code:
ServerName "ProFTPD"
ServerType inetd
ServerType inetd
DefaultServer on
<Global>
DefaultRoot ~ psacln
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 /opt/psa/var/log/xferlog

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

<Directory /var/www/vhosts>
GroupOwner psacln
</Directory>

# Disable PAM authentication
AuthPAM off

# delay on login off
IdentLookups off
UseReverseDNS off
RequireValidShell off

Include /etc/proftpd.include