[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [users] Re: Why can't I?



also sprach ANDREW PERRIN (on Wed, 13 Jun 2001 10:48:29AM -0400):
> chmod o-rwx /
> chmod o-rwx /home
> chgrp root /
> chgrp root /home

at which point you won't be able to access even your homedirectory
anymore. na, you need the x right on directories higher up the
hierarchy from where you want to be.

ideally, you could remove the r right of all directories but the home
dir, then the user could chdir into them, but could not obtain
listings. you don't want to block everything because every user needs
/bin and /usr/bin stuff as well as /lib, /usr/lib, /tmp, and many other
directories below /usr.

consider again. *why* do you want to do this?

martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
-- 
"it usually takes more than three weeks
 to prepare a good impromptu speech.
                                                         -- mark twain



Reply to: