confining certain user to their home directory
Is there a way to confine users to their home directory using CentOS 5? I have tried the steps Dan Walsh listed on his blog:
http://danwalsh.livejournal.com/10461.html
but could not get things to compile
make -f /usr/share/selinux/devel/Makefile
Compiling targeted guest module/usr/bin/checkmodule: loading policy configuration from tmp/guest.tmp guest.te:150:ERROR 'syntax error' at token 'manage_dirs_pattern' on line 85533:
#line 150
manage_dirs_pattern(privhome,{ guest_home_dir_t guest_home_t
},guest_home_t)/usr/bin/checkmodule: error(s) encountered while parsing configuration
make: *** [tmp/guest.mod] Error 1
What all can I do to get this working?
Thanks.
Signature · 2 lines
..Cheers Mark