Subject: Re: "su" in rescue?
To: None <tech-userlevel@NetBSD.org>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-userlevel
Date: 06/29/2004 17:57:43
--x+mNLHl5vPN70iuC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 24, 2004 at 02:30:13PM -0400, Perry E. Metzger wrote:
  | itojun@itojun.org (Jun-ichiro itojun Hagino) writes:
  | > 	ok, i got enough comment.  so new proposal: could you please make
  | > 	/usr/bin/su a static binary?  it's a one-line Makefile change.
  |=20
  | The problem with that is that it will mean that /usr/bin/su can't
  | handle things like dynamically linked database modules, for dealing
  | with things like hesiod and such.
  |=20
  | I would suggest that the "right" thing is to create a statically
  | linked su *in addition* to the normal /usr/bin/su, and copy that into
  | /rescue. We could easily do the makefile machinery to handle that.

I still haven't seen a justification why this would be necessary.
What is wrong with "boot -as" (or the platform equivalent), and
repairing the problem with /rescue/init && /rescue/* ?

--x+mNLHl5vPN70iuC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFA4SD3pBhtmn8zJHIRAlwYAJwOO6CKRlBUR8+m9n7S7P6TbuBxogCfWP95
+GqnmR5XDNAhnyW6jWfII00=
=Kuu4
-----END PGP SIGNATURE-----

--x+mNLHl5vPN70iuC--