From owner-freebsd-questions Tue Sep 25 10:17:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id D51A037B40D for ; Tue, 25 Sep 2001 10:14:36 -0700 (PDT) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id D0CE8BD52; Tue, 25 Sep 2001 10:14:35 -0700 (PDT) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id KAA18208; Tue, 25 Sep 2001 10:14:35 -0700 Received: (from jojo@localhost) by localhost.localdomain (8.11.3/8.11.3) id f8PHDBa58737; Tue, 25 Sep 2001 10:13:11 -0700 (PDT) (envelope-from swear@blarg.net) To: Christoph Sold Cc: cyu0635@home.com, "freebsd-questions@FreeBSD.ORG" Subject: Re: directory security References: <3BB067FB.605D6119@home.com> <3BB07955.6000803@i-clue.de> From: swear@blarg.net (Gary W. Swearingen) Date: 25 Sep 2001 10:13:11 -0700 In-Reply-To: <3BB07955.6000803@i-clue.de> Message-ID: Lines: 17 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Christoph Sold writes: > cyu0635@home.com wrote: > > >Is it possible to set the /etc directory > >not allow the user to read it? chmod 711 > > > >I mean is there any system problem? > > Lots of applications try to read /etc/passwd for account verification, > xlock being only an example. But with 711 permissions, anyone can read a file in /etc if they know the name of the file. (Not so with 700.) Seems odd, but that's the way it is (on FreeBSD 4.3, at least). I've never tried it on /etc and can't say if there are other problems. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message