Date: 25 Apr 2005 13:45:42 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: freebsd-questions@freebsd.org, Olaf Stein <stein.175@osu.edu> Subject: Re: lock user to home directory Message-ID: <44hdhuzr5l.fsf@be-well.ilk.org> In-Reply-To: <20050425163410.GE98448@slackbox.xs4all.nl> References: <200504251451.j3PEp0Wl011657@defang9.net.ohio-state.edu> <20050425163410.GE98448@slackbox.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Roland Smith <rsmith@xs4all.nl> writes: > On Mon, Apr 25, 2005 at 10:51:00AM -0400, Olaf Stein wrote: > > hi everybody > > > > is there an easy way to lock a user to his home directory?? > > Try giving them restricted bash (rbash, or bash -r) as shell. Assuming you trust them not to actively try to attack your box, in which case you would use a chroot(8) or jail(8).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44hdhuzr5l.fsf>