Date: Thu, 30 May 2002 20:03:17 +0200 From: Sheldon Hearn <sheldonh@starjuice.net> To: "Crist J. Clark" <cjc@freebsd.org> Cc: security@freebsd.org Subject: Re: FreeBSD Security Advisory FreeBSD-SA-02:27.rc Message-ID: <6952.1022781797@axl.seasidesoftware.co.za> In-Reply-To: Your message of "Wed, 29 May 2002 13:38:52 MST." <20020529133852.B12700@blossom.cjclark.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 May 2002 13:38:52 MST, "Crist J. Clark" wrote: > Ick. How about, > > # /usr/bin/printf "/.X11-unix/s/^/#/\nw\nq\n" | /bin/ed -s /etc/rc > > Next time? Or even a pathless printf, so that you benefit if your shell has a builtin printf. As far as I know, the only times paths should be specified in the bootstrapping scripts is when they're used to launch some deamons that need to re-exec themselves later and use argv[0] to accomplish this. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6952.1022781797>