Hi there again!
I'm trying to create an FTP server with FreeBSD to share files with friends and stuff. I've got anonymous ftp to work without a problem. However, that's not quite what I want, I want to create an user _with_ password. This is FreeBSD 4.10-RELEASE and this is what I did...
1) First, I've added an user, let's say, tux.
2) I made sure that this user is created under the class FTP.
3) it has password
This user default's home directory is /home/tux. I can login into my FTP from inside and outside my network (forwarded port 21 on my router) without any problems. Here is the problem:
- Anybody connected to my FTP as tux can access the folders _outside_ /home/tux, even my root partition. Indeed they can't write anything outside /tux/incoming, but still, I dislike it a lot. With anonymous ftp, I did not have this problem. /home/ftp is the 'highest' somebody can get inside my directories in my anonymous FTP.
How do I change this behavior so that /home/tux is the only folder peoples can see? Any suggestions?
Thanks in advance
P.S: I'm not using any fancy FTP server as proftpd or anything, but the default ftpd shipped with FreeBSD.
P.S:2 I don't think this is a FreeBSD only behavior, but still, I decided to put it in here, since I'm using FreeBSD. Any Linux users are welcome with suggestions. Thanks