From owner-freebsd-security Thu May 30 17:24: 1 2002 Delivered-To: freebsd-security@freebsd.org Received: from roble.com (mx0.roble.com [206.40.34.14]) by hub.freebsd.org (Postfix) with ESMTP id B269B37B403 for ; Thu, 30 May 2002 17:23:57 -0700 (PDT) Received: from gw.netlecture.com (gw.netlecture.com [206.40.34.9]) by roble.com with ESMTP id g4V0Nv007251 for ; Thu, 30 May 2002 17:23:57 -0700 (PDT) Date: Thu, 30 May 2002 17:23:57 -0700 (PDT) From: Roger Marquis To: security@FreeBSD.ORG Subject: Re: FreeBSD Security Advisory FreeBSD-SA-02:27.rc Message-ID: <20020530171719.W7046-100000@roble.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Crist J. Clark wrote: >Ick. How about, > > # /usr/bin/printf "/.X11-unix/s/^/#/\nw\nq\n" | /bin/ed -s /etc/rc Why not: # rm -rf /tmp/.X*-lock /tmp/.X11-unix As long as it doesn't specify subdirectory wildcards (.../*) there should be no problems with links to files outside of /tmp. -- Roger Marquis Roble Systems Consulting http://www.roble.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message