*BSD News Article 55329


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!newsfeed.ACO.net!cmir.arnes.si!senca.mf.uni-lj.si!animus.mf.uni-lj.si!stupnik
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: chroot question
Message-ID: <1995Nov25.004904@animus.mf.uni-lj.si>
From: stupnik@animus.mf.uni-lj.si (Tomaz Stupnik)
Date: 25 Nov 95 00:49:04 +0100
Organization: University of Ljubljana, Medical Faculty, Slovenia
Nntp-Posting-Host: animus.mf.uni-lj.si
Lines: 16

Hi,

I would like to restrict my user not to have access to the whole filesystem.
I thought it would be best for a user to be chroot()-ed into his home
directory. But I haven't any idea on how to do something like that. Can
somebody please give me a brief explanation which files to modify...

I belive it's impossible to chroot into /usr/home/username without every user 
having his own /bin with all the executables, so I'll better chroot() them 
into /usr/home and make all users directories inaccessible to other users 
than their owners?


							++Tomaz