ftpd help

Mel fbsd.questions at rachie.is-a-geek.net
Thu Apr 3 16:15:34 UTC 2008

On Thursday 03 April 2008 17:23:10 Victor Farah wrote:

> 	I have a default install of freebsd 6.2, and I enable ftpd in inetd.
> That all works nicely, I add a user to the system that needs to access
> ONLY two directories that are in two different places.
> For example: /usr/local/www/dir1 and /usr/local/www/dir2/
> There are many directories in /usr/local/www/ that this person SHOULD
> not have access too.
mkdir /home/personX/dir1 /home/personX/dir2
mount -t nullfs /usr/local/www/dir1 /home/personX/dir1
mount -t nullfs /usr/local/www/dir2 /home/personX/dir2

Done. You can also add '-o ro' if the user isn't allowed to make changes to 
the directories.

Problem with today's modular software: they start with the modules
    and never get to the software part.

More information about the freebsd-questions mailing list