Galvin
21.03.03, 20:13
Huhu zusammen,
habe SuSE Linux 8.1 aufn Server und nen FTP Problem. Meine User könne aus ihrem Ordner raus und auf Server rumschwirren. Wie sperre ich die das die sich nur in ihrem Ordner bewegen können?
Hier die proftp.conf
ServerName xxxl.com
ServerType standalone
DefaultServer on
ServerAdmin technik@xxx.com
ServerIdent on "FTP Server ready."
# 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.
User nobody
Group nogroup
TransferLog /var/log/xferlog
# Normally, we want files to be overwriteable.
AllowOverwrite on
#
# Do a chroot for web-users (i.e. public or www group), but
# do not change root if the user is also in the users group...
#
#DefaultRoot ~/public_html public,!users
#
defaultroot ~
# Groups that are not allowed to login
<Limit LOGIN>
DenyGroup ftp
</Limit>
### ENDE ####
Vielen Dank schonmal für eure Hilfe
Galvin
habe SuSE Linux 8.1 aufn Server und nen FTP Problem. Meine User könne aus ihrem Ordner raus und auf Server rumschwirren. Wie sperre ich die das die sich nur in ihrem Ordner bewegen können?
Hier die proftp.conf
ServerName xxxl.com
ServerType standalone
DefaultServer on
ServerAdmin technik@xxx.com
ServerIdent on "FTP Server ready."
# 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.
User nobody
Group nogroup
TransferLog /var/log/xferlog
# Normally, we want files to be overwriteable.
AllowOverwrite on
#
# Do a chroot for web-users (i.e. public or www group), but
# do not change root if the user is also in the users group...
#
#DefaultRoot ~/public_html public,!users
#
defaultroot ~
# Groups that are not allowed to login
<Limit LOGIN>
DenyGroup ftp
</Limit>
### ENDE ####
Vielen Dank schonmal für eure Hilfe
Galvin