lock user to home directory
    Lowell Gilbert 
    freebsd-questions-local at be-well.ilk.org
       
    Mon Apr 25 10:45:44 PDT 2005
    
    
  
Roland Smith <rsmith at 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).
    
    
More information about the freebsd-questions
mailing list