PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : proftpd: Andere User sperren



cPu
06.01.08, 21:31
Hallo.

Ich habe meinen proftpd eingerichtet und es gibt da noch Probleme.

Ich will alle anderen User aussperren, nur der User Maximilian darf Zutritt haben und aus irgendeinem Grund kann ich keine Ordner löschen?!?

Hier meine config:

# 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 Default Installation"
ServerType standalone
# wenn der servertyp inetd gewaehlt wird, muss noch folgendes in
# /etc/inetd eingetragen werden:
# ftp stream tcp nowait root /usr/sbin/tcpd /usr/local/sbin/proftpd
#ServerType inetd
DefaultServer on

UseIPv6 off

# 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

# security fix as recommended by proftp-development-team

DenyFilter \*.*/

# if these options are set, then proftp uses this files instead of
# the system-passwd-file to authenticate users.
AuthUserFile /etc/proftpd.passwd
AuthGroupFile /etc/proftpd.group

# 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.
User nobody
Group nogroup


# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>

# A basic anonymous configuration, with upload directories.

<Anonymous /mnt/raid>

User Maximilian
Group users
AllowStoreRestart on
MaxClients 5 "Sorry, max %m anonymous users allowed. Try again later"
MaxClientsPerHost 2 "Sorry, you may not connect more than %m times."
TransferLog /var/log/proftpd.pub.log

</Anonymous>


Danke für die Hilfe, cPu

drcux
07.01.08, 00:01
Wieso "Anonymous" erlaubt, wenn doch nur ein User Zugriff haben soll?

cPu
07.01.08, 00:56
nja, so wie ichs hier habe funktionierts... nur nicht 100%ig :)

aber vielleicht kannst du mir helfen, dass alles funktioniert.

cPu

drcux
07.01.08, 01:32
Sorry....

http://proftpd.de/Docs.17.0.html