Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2005 18:34:10 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        freebsd-questions@freebsd.org
Cc:        Olaf Stein <stein.175@osu.edu>
Subject:   Re: lock user to home directory
Message-ID:  <20050425163410.GE98448@slackbox.xs4all.nl>
In-Reply-To: <200504251451.j3PEp0Wl011657@defang9.net.ohio-state.edu>
References:  <200504251451.j3PEp0Wl011657@defang9.net.ohio-state.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--FEz7ebHBGB6b2e8X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 25, 2005 at 10:51:00AM -0400, Olaf Stein wrote:
> hi everybody
> =20
> is there an easy way to lock a user to his home directory??

Try giving them restricted bash (rbash, or bash -r) as shell.

Roland
--=20
R.F. Smith                           /"\    ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l      \ /    No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/         X     No Word docs in e-mail
public key: http://www.keyserver.net / \    Respect for open standards

--FEz7ebHBGB6b2e8X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCbRwCEnfvsMMhpyURAl4NAJoC71Nzr6ie9GSb9mQdyjKVUAPt9ACeLN3H
o0qcFOMY7ep+xsA2rQfOKBE=
=6JTX
-----END PGP SIGNATURE-----

--FEz7ebHBGB6b2e8X--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050425163410.GE98448>