From owner-freebsd-questions@FreeBSD.ORG Wed Sep 15 08:57:14 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 264B416A4CE for ; Wed, 15 Sep 2004 08:57:14 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DBF343D54 for ; Wed, 15 Sep 2004 08:57:13 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i8F8v9Pt024130 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Sep 2004 09:57:09 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i8F8v98m024129; Wed, 15 Sep 2004 09:57:09 +0100 (BST) (envelope-from matthew) Date: Wed, 15 Sep 2004 09:57:08 +0100 From: Matthew Seaman To: Martin Vana Message-ID: <20040915085708.GB23645@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Martin Vana , freebsd-questions@freebsd.org References: <003101c49aa2$f817b820$2a88ebd5@Vanovci> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rJwd6BRFiFCcLxzm" Content-Disposition: inline In-Reply-To: <003101c49aa2$f817b820$2a88ebd5@Vanovci> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 15 Sep 2004 09:57:09 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: /root default permisions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 08:57:14 -0000 --rJwd6BRFiFCcLxzm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 14, 2004 at 11:36:59PM +0200, Martin Vana wrote: > I installed FBSD 5.3 Beta 3 - Default install, and as a regular user > I can 'cat /root/.cshrc' or any other file in admin's directory? > is it a bug? No, that's not wrong. The /root directory should be mode 755, which means anyone can chdir to it, or list the contents. In a freshly installed system there isn't anything in that directory where disclosure of file contents would be greatly deleterious to security. The important thing is that no-one other than root can *write* to that directory. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --rJwd6BRFiFCcLxzm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBSAPkiD657aJF7eIRAmxlAKCPKMqlGrEQCWHnx0MzRA48oOESxQCgkRZn VsFfI3VsnKogzZ+O+/ijsJA= =9/Yg -----END PGP SIGNATURE----- --rJwd6BRFiFCcLxzm--