From owner-freebsd-questions Mon Mar 27 14:30:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 9173337BED5 for ; Mon, 27 Mar 2000 14:30:41 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12Zi1k-000Cvd-00; Mon, 27 Mar 2000 23:30:28 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12Zi1k-000L3V-00; Mon, 27 Mar 2000 23:30:28 +0100 Date: Mon, 27 Mar 2000 23:30:28 +0100 From: Ben Smithurst To: sdf dsg Cc: freebsd-questions@freebsd.org Subject: Re: CHMOD Message-ID: <20000327233028.Z86036@strontium.scientia.demon.co.uk> References: <20000327212433.40277.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000327212433.40277.qmail@hotmail.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG sdf dsg wrote: > Hello i wonder if i can chmodd everything in /etc to 700 or 711 probably a bad idea. I think /etc/pwd.db certainly needs to be world readable, so user processes can determine what user name they're being run as using getpwuid. There's nothing to stop you trying of course, and seeing how much breaks. > i don't want anyone to be able to read my config files Why? The only config files you need to protect are those which contain passwords. -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message