Date: Wed, 29 May 2002 13:38:52 -0700 From: "Crist J. Clark" <crist.clark@attbi.com> To: security@freebsd.org Subject: Re: FreeBSD Security Advisory FreeBSD-SA-02:27.rc Message-ID: <20020529133852.B12700@blossom.cjclark.org> In-Reply-To: <200205291636.g4TGaZX40801@freefall.freebsd.org>; from security-advisories@FreeBSD.org on Wed, May 29, 2002 at 09:36:35AM -0700 References: <200205291636.g4TGaZX40801@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 29, 2002 at 09:36:35AM -0700, FreeBSD Security Advisories wrote: [snip] > IV. Workaround > > Find and remove or comment-out the following line in /etc/rc: > > rm -f /tmp/.X*-lock /tmp/.X11-unix/* > > The following command executed as root will do this: > > /bin/sh -c 'echo -e "/.X11-unix/s/^/#/\nw\nq\n" | /bin/ed -s /etc/rc' Ick. How about, # /usr/bin/printf "/.X11-unix/s/^/#/\nw\nq\n" | /bin/ed -s /etc/rc Next time? -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org 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?20020529133852.B12700>