From owner-freebsd-current@FreeBSD.ORG Mon Apr 4 02:57:09 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8544E16A4CE; Mon, 4 Apr 2005 02:57:09 +0000 (GMT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FE0C43D4C; Mon, 4 Apr 2005 02:57:08 +0000 (GMT) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.3/8.13.3) with ESMTP id j342v6vn048700; Mon, 4 Apr 2005 06:57:06 +0400 (MSD) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.13.3/8.13.3/Submit) id j342v6l9048699; Mon, 4 Apr 2005 06:57:06 +0400 (MSD) (envelope-from ache) Date: Mon, 4 Apr 2005 06:57:06 +0400 From: Andrey Chernov To: "Daniel O'Connor" Message-ID: <20050404025705.GA48464@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Daniel O'Connor , phk@FreeBSD.ORG, current@FreeBSD.ORG References: <20050403232027.GA42574@nagual.pp.ru> <200504041107.42147.doconnor@gsoft.com.au> <20050404020924.GA48010@nagual.pp.ru> <200504041145.25265.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <200504041145.25265.doconnor@gsoft.com.au> User-Agent: Mutt/1.5.9i X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-3; AVE: 6.30.0.7; VDF: 6.30.0.61; host: nagual.pp.ru) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (nagual.pp.ru [0.0.0.0]); Mon, 04 Apr 2005 06:57:07 +0400 (MSD) cc: phk@FreeBSD.ORG cc: current@FreeBSD.ORG Subject: Re: Can't change partition table anymore X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2005 02:57:09 -0000 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 04, 2005 at 11:45:17AM +0930, Daniel O'Connor wrote: > Altering the MBR while you have a partition mounted is potentially quite= =20 > dangerous. Don't say "dangerous" for _root_ user. Is there any purpose left for being= =20 root anymore? According to your logic, all root operations should be=20 disabled by some unknown undocumented sysctls because it is too dangerous= =20 to be the root. Better kill yourself than to be the root. > The reason it was possible in the past was because there was no protectio= n=20 > against this kind of thing. Does anybody asks for protection here? It was not me. It was not majority= =20 of Unix sysadmins. Such kind of protection should be turned off by default= =20 in case it even exists as the toy for some paranoid people. > Use boot0cfg and the FreeBSD bootloader instead? boot0cfg not works (I assume the reason is the same). I can't write FreeBSD bootloader because reinstalled Windows overwrite it= =20 with standard MBR and sysinstall don't allow to write bootloader anymore.= =20 The only thing I not try yet in that situation was 'dd' - I was too lasy=20 to find needed byte. --=20 http://ache.pp.ru/ --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iQCVAwUBQlCtAeJgpPLZnQjrAQLv/QQAqLHs+eZuYdKWcvUC7e0t6VlP5PDXcbVg 8sR3VZFJoqDN1FRDKx9h1euLCKsPLFp58e60XchoixXqhOUFwZYUbAhbacAzURqX nfvG5k33QFXnVb8K2PvuJUceYuLhKwV8LilCrPTyKXyac5WUJxlsYm3bjQtNbJBw 5kztyg2WFKs= =dfhh -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--