ftpChroot doesn't seem to work

Keyser Soze

Registered
I am running MAC OS X 10.1.1 server - trying to limit access given to ftp clients.

Created and modified file ftpChroot with the users to be limited to their home directories. This didn't seem to work. Am I missing something maybe?

1. sudo pico /etc/ftpchroot

2. (text entered in file)
user1
user2

3. saved and exited file

I have also tried creating a file /etc/hosts.allow and limiting ftp and ssh users using this file, that also failed to work.

1. sudo pico /etc/hosts.allow

2. (text entered in file)
ftpd : 192.168.1 : ALLOW
sshd : 192.168.1 : ALLOW
ALL : ALL : DENY

3. save and exit

This was supposed to limit FTP and SSH access to only users with IP addresses from 192.168.1.1 - 255, i thought.

Does anybody know a way to limit FTP access on a Mac OS X 10.1.1 server?

Any info on this matter is greatly appreciated.
 
try:
sudo etc


new line:
pico ftpChroot

and make sure that you hit enter at the end of each line,and that it writes the lines, and that the drive/volume doesn't have any spaces in the name or path.
otherwise, don't know.
 
sudo etc - doesn't do anything for me

And I have made sure that I hit enter at the end of each line, and that it writes the lines, and that the drive/volume doesn't have any spaces in the name or path.

Still stuck!
 
Back
Top