Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 1997 11:19:50 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Shawn.Leas@bull.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ftpaccess question
Message-ID:  <Pine.BSF.3.96.971017111553.3596K-100000@gdi.uoregon.edu>
In-Reply-To: <85256532.00666238.00@us-mta1.ma02.bull.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 16 Oct 1997 Shawn.Leas@bull.com wrote:

> How do you change a particular groups or users ftp-root?

You embed a /./ into their home directory spec in the passwd database.
This creates a chroot()ed environment at the point specified.  For
instance, if you want to keep a user stuck in their home directory, you
can use the following spec:

user:xx ...:/usr/home/user/./: ...

WARNING: Make sure that the proper binaires exist in ~/bin/ to do ls and
any other functions.  It's a chrooted environment, they don't have access
to anything above that point.

I think :-) I'd suggest reviewing ftpaccess(5), appropriate docs/man
pages, and the mail archives for additional assistance.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971017111553.3596K-100000>