Re: FreeBSD Security Advisory FreeBSD-SA-02:27.rc

From: Crist J. Clark (crist.clark@attbi.com)
Date: 05/29/02


Date: Wed, 29 May 2002 13:38:52 -0700
From: "Crist J. Clark" <crist.clark@attbi.com>
To: security@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


Relevant Pages

  • Bug and workaround: Office 2004 (vX too, possibly) Insert Object empty, also "Object library not reg
    ... We have also found a workaround. ... they have the same root cause; I am inclined to believe that there are ... it's not just NFS home directories; we also tested using a UFS ... Fix the code or fix the documentation, Microsoft. ...
    (microsoft.public.mac.office)
  • RE: Some vital information on ISM
    ... The workaround is either to run a savegrp command as part of the level 0 ... information - or to run a backup every Sunday as root to ensure that there ... I've done one to a new IDS installation in the past but ...
    (comp.databases.informix)
  • Re: USB OOPS 2.6.25-rc2-git1
    ... about IAA and/or IAAD oddities? ...  There's surely a quick workaround ... but I'd rather understand the root cause before patching. ...
    (Linux-Kernel)
  • Re: Having a lot of problems with 11.1 Open Suse
    ... cd dvd burn as user --> still have problems ... (workaround for me k3b as root) ... asks to insert a blank media). ...
    (alt.os.linux.suse)
  • Re: Sending ECHO_REQUEST (pinging) with python
    ... > It seems however that I have to be root to send those imcp packages, ... The workaround your ping command is using btw, ... you need a privileged process which is willing to give you the privilege. ...
    (comp.lang.python)