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

Re: Filesystem permissions



On Fri, Jun 15, 2001 at 02:16:21PM -0600, Stefan Srdic wrote:
> 
> For example, could I mount /proc, /var and /tmp so that only root can
> r/w to those filesystem? Also, how could I implement the same thing but
> to the /etc directory and subdirectories?
> 

Why do you want to?  If nobody can read /proc then they can't run things
like 'ps'.  That's not a good thing.  /etc is a similar case.  Depending
on your installation, it's quite likely that there are things in /etc
that *need* to be readable by a normal user.

Have you got something specific that you want to hide from your users?
Do you really distrust them that much?  I have had accounts on numerous
"public" systems, included, for example, shell servers run by ISPs.  Not
once have I ever seen one that restricted read access to /proc or /etc.

noah

-- 
 _______________________________________________________
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 

Attachment: pgp8LQdZN6Mdr.pgp
Description: PGP signature


Reply to: