PDA

View Full Version : ftp connected users


dasnet2002
01-24-2002, 01:37 PM
hi, i've already set annonymous login in the built in ftp server in os x 10.1, but how i set the number of connected users?

Novajo
01-24-2002, 03:25 PM
I don't see anything in man ftpd, but there could be workarounds:

1) if a file /etc/nologin exists, ftpd does not accept new connections. If you write a script to monitor the number of users logged in (with users or who), you could create or erase that file if required.
2) you can replace the ftpd deamon of OS X with proftpd (http://www.proftpd.org) which has much more configuration options. You can limit pretty much anything. It runs on OS X, I know, I compiled it at some point.

BTW, how did you get anonymous login? Via the System Configuration or you tweaked the inetd.conf file ? Just curious. Also, with anonymous ftp open, you will very likely be "hacked" into by machines from anywhere around the web. I have see tons of denied anonymous connection attempts everyday on my machine.

dasnet2002
01-24-2002, 04:15 PM
i follow the explanation in this page: http://www.kung-foo.tv/xtips.shtml
and works perfect