lock user to home directory

Roland Smith rsmith at xs4all.nl
Mon Apr 25 09:34:13 PDT 2005


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.

Roland
-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050425/25ad8586/attachment.bin


More information about the freebsd-questions mailing list