Click to See Complete Forum and Search --> : proftpd problems ...
anton
10-29-2001, 04:16 PM
Hello,
first of all, I have this problem , the following directirives I can't define in <Anonymous> only in Global :( :
<Limit WRITE>
DenyAll
</Limit>
and
MaxClientsPerHost 1
why ? :(
I really need to be able to define them for each different user
also, is there any way to put up ftp on the same port as apache (80) ?
thx :)
slacker_x
10-29-2001, 06:07 PM
You can only run one service on a given port. It just wouldn't make sense to have two things on one port. Why can't you use those directives? I am using both of those in an <Anonymous> configuration.
anton
10-29-2001, 06:12 PM
I don't know ... they just don't :(
anton
10-29-2001, 08:58 PM
anybody ?
here's my proftpd file :
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
MaxInstances 60
TimeoutNoTransfer 60
MaxClientsPerHost 1
# Set the user and group that the server normally runs at.
User nobody
Group nobody
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>
<Limit WRITE>
DenyAll
</Limit>
# Needed for NIS.
PersistentPasswd off
<Anonymous /mnt/win_l/movies/tyson>
User tyson
AnonRequirePassword on
AuthAliasOnly on
MaxClients 20
MaxClientsPerHost 1 # < --- doesn't work
<Limit WRITE> #<-- doesn't work
DenyAll
</Limit>
</Anonymous>
DefaultRoot /mnt/win_l/movies/tyson tyson
slacker_x
10-29-2001, 09:34 PM
That is a pretty confusing proftpd.conf file. I think you need to do some reading.
It looks like you are a little bit confused about what the <anonymous> block does.
anton
10-29-2001, 09:43 PM
hmm ... what's wrong with it ? ... it looks like the examples on the proftpd site ...