On Sat, Feb 02, 2002 at 10:23:29AM -0500, Ben Collins wrote: > On Sat, Feb 02, 2002 at 04:37:01PM -0800, Petre Daniel wrote: > > how can i deny to a user with shell access the browsing of /home ? > > thanx > > chmod 711 /home > > So they can go into directories they know about, but they wont be able > to do "ls -l /home" If /etc/passwd is world readable, don't I know about a lot of directories in /home? If the OP is using a defaultish debian setup, each user will have her own group, so setting everyone's default umask to 027 and setting perms on homedirs to 0750 might also be a good idea. -- Nathan Norman - Staff Engineer | A good plan today is better Micromuse Ltd. | than a perfect plan tomorrow. mailto:nnorman@micromuse.com | -- Patton
Attachment:
pgpQZ0aXnSXdj.pgp
Description: PGP signature