From owner-freebsd-security Wed May 29 13:39: 6 2002 Delivered-To: freebsd-security@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 4056A37B406 for ; Wed, 29 May 2002 13:38:53 -0700 (PDT) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020529203852.PMMH11426.rwcrmhc51.attbi.com@blossom.cjclark.org> for ; Wed, 29 May 2002 20:38:52 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g4TKcqv13152 for security@freebsd.org; Wed, 29 May 2002 13:38:52 -0700 (PDT) (envelope-from crist.clark@attbi.com) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Wed, 29 May 2002 13:38:52 -0700 From: "Crist J. Clark" To: security@freebsd.org Subject: Re: FreeBSD Security Advisory FreeBSD-SA-02:27.rc Message-ID: <20020529133852.B12700@blossom.cjclark.org> Reply-To: "Crist J. Clark" References: <200205291636.g4TGaZX40801@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200205291636.g4TGaZX40801@freefall.freebsd.org>; from security-advisories@FreeBSD.org on Wed, May 29, 2002 at 09:36:35AM -0700 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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