Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 15:44:31 -0800
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        mike <mike@coloradosurf.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: chrooting home dirs
Message-ID:  <20011113154431.D61915@blossom.cjclark.org>
In-Reply-To: <20011113102327.A58425@coloradosurf.com>; from mike@coloradosurf.com on Tue, Nov 13, 2001 at 10:23:27AM -0700
References:  <20011113102327.A58425@coloradosurf.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 13, 2001 at 10:23:27AM -0700, mike wrote:
> Hello,
> 
> I would like to chroot local users to the home directories when they ssh 
> in to the machine. `man 8 chroot` was not as enlightening as I had hoped ;).
> 
> Can someone please refer me to information on how I would set up chrooted
> home directories? The purpose of this is mainly to keep shell users in
> their own directories (and not nosing about in others').

You are probably best off just assigning user's directories with the
appropriate permissions, 0700 or something else restrictive.

OpenSSH does not natively support chroot(8)ing users. Doing so and
still having useful environments for the users is non-trivial.
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

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?20011113154431.D61915>