🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #47611

Re: Chmod o-r on /etc/ folder...will it cause problems?

#47611
From: Glen Turner
Date: Mon, 04 Jan 1999 00:00
36 lines
1825 bytes
Siapa aja wrote:
> 
> Just curious... will it effect any programs? It will just limit the
> access of doing ls and stuff to other users.
> Anything else I miss? Please explain :)

It's a directory, not a folder.  A folder is actually a
different (but related) concept.

And yes, the command

  chmod o-r /etc/

will cause problems with user applications.  A lot of default
configurations are stored in /etc that are read by non-root
programs as they start.

Furthermore, user-level libraries also read files in the
/etc/ directory.  Eg: /etc/protocols, /etc/resolv.conf

You should be able to make a fair few of the files in /etc/
have r--r----- permissions if you are concerned about
security and information leakage.  This shouldn't be done
too lightly: my experience with systems that do this is
that sysadms change to root whilst doing problem diagnosis,
with the usual nasty effects if a mistake is made or the
program under test misbehaves.

Cheers,
Glen
 
-- 
 Glen Turner                               Network Specialist
 Tel: (08) 8303 3936          Information Technology Services
 Fax: (08) 8303 4400         The University of Adelaide  5005
 Email: glen.turner@adelaide.edu.au           South Australia
Technical Details
Message-ID: <369069EB.BFDD8E76@adelaide.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3687946F.7287BDE5@ping-timeout.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,7c6c019011c421a1
X-Google-Attributes: gid102983,public
From: Glen Turner <glen.turner@adelaide.edu.au>
Subject: Re: Chmod o-r on /etc/ folder...will it cause problems?
Date: 1999/01/04
Message-ID: <369069EB.BFDD8E76@adelaide.edu.au>
X-Deja-AN: 428558142
Content-Transfer-Encoding: 7bit
References: <3687946F.7287BDE5@ping-timeout.com>
Content-Type: text/plain; charset=us-ascii
Organization: IT Services, University of Adelaide, South Australia
MIME-Version: 1.0
Newsgroups: aus.computers.linux