From owner-freebsd-security@FreeBSD.ORG Tue Mar 9 01:23:18 2004 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66CD416A4CE for ; Tue, 9 Mar 2004 01:23:18 -0800 (PST) Received: from darkness.comp.waw.pl (unknown [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3F2D43D31 for ; Tue, 9 Mar 2004 01:23:15 -0800 (PST) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 0174EACABF; Tue, 9 Mar 2004 10:23:09 +0100 (CET) Date: Tue, 9 Mar 2004 10:23:09 +0100 From: Pawel Jakub Dawidek To: =?iso-8859-2?Q?C=E9dric?= Devillers Message-ID: <20040309092309.GS10864@darkness.comp.waw.pl> References: <20040308093642.GI10864@darkness.comp.waw.pl> <1078780238.1937.11.camel@localhost.muc.eu.mscsoftware.com> <20040308220828.GP10864@darkness.comp.waw.pl> <20040309091639.0a3a362a.cedric.devillers@script.jussieu.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XZq0mbLCR4KNTYFe" Content-Disposition: inline In-Reply-To: <20040309091639.0a3a362a.cedric.devillers@script.jussieu.fr> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-security@freebsd.org Subject: Re: Call for review: restricted hardlinks. X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 09:23:18 -0000 --XZq0mbLCR4KNTYFe Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 09, 2004 at 09:16:39AM +0100, C=E9dric Devillers wrote: +> If you create several partition ( /var /usr /home ), this problem is +> resolved. Generally, in /usr, there are no directory write-able for all. +> If you have a partition for /usr, no hard link to a set-uid binary ( in +> the /usr tree ) is possible. Believe me, I'm aware of this. This "issue" can be used to other purposes as well. % ln /home//important_file ~/i_cannot_read_it_now_but_maybe_some_day= _i_will_compromise_this_machine Anyway, it is turned off by default and there is no need to use it at all. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --XZq0mbLCR4KNTYFe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFATYz9ForvXbEpPzQRAmWhAJ0UHofH3RoHMhXxVvoHLplnlItl3QCgyBa9 jBzsxmWkpUEi4biC3Lipp1Q= =2CeU -----END PGP SIGNATURE----- --XZq0mbLCR4KNTYFe--