Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2000 09:01:31 -0400
From:      Nathan Vidican <webmaster@wmptl.com>
To:        Arisandy Arief <sandy@divre5.telkom.co.id>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: hide directory...?
Message-ID:  <39098BAB.9A26CB5A@wmptl.com>
References:  <000701bfb112$11dcbd70$220c600a@divre5.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Use the ftpd that comes stock with FreeBSD, and add each user, (or
@group) , to one line in /etc/ftpchroot. This will disallow the user to
'cd ..' by making their homedir appear as 'cd /'. That should be all you
need to do; we just place all our webhosting customers into a group
called 'webhost', our /etc/ftpchroot files looks like this, (only two
lines):

@webhost
@shlhost

Thus, every user who is a memmber of the groups webhost, and shlhost,
(shell accounts), is limited to their home-directory only via ftp.

Nathan Vidican
webmaster@wmptl.com
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/


Arisandy Arief wrote:
> 
> what ftp daemon should I use for hiding other user directory....
> or other directory with no access.....
> cause we need it for hosting service...
> 
> thanks
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39098BAB.9A26CB5A>