SUMMARY: (UPDATED) 107078-03 on Solaris 7 (Xsun permission problem)

From: Antonio Figueiredo (antonio@dca.fee.unicamp.br)
Date: Tue May 18 1999 - 09:24:47 CDT


I sent the SUMMARY below, but made a small mistake (thanks
Casper), the GID (root:root) of the /usr/openwin/bin/Xsun is actually:

-rwxr-sr-x 1 root root 949520 Feb 19 21:24 /usr/openwin/bin/Xsun

I apologize for this inconvenience.

--antonio

---------- Forwarded message ----------
Date: Thu, 13 May 1999 14:14:05 -0300 (EST)
From: Antonio Figueiredo <antonio@dca.fee.unicamp.br>
To: sun-managers@sunmanagers.ececs.uc.edu
Cc: Antonio Figueiredo <antonio@dca.fee.unicamp.br>
Subject: SUMMARY: 107078-03 on Solaris 7 (Xsun permission problem)

The original question was:

> I installed the patch 107078-03, distributed by Sun for JDK 1.2.1, on a
> Solaris 7 machine. After application of this patch, seems to me that the
> Xsun doesn't get to write at directories /tmp/.X11-pipe and /tmp/.X11-unix
> which are with the following permissoes:
>
> drwxrwxr-x 2 user root 104 May 10 16:04 .X11-pipe
> drwxrwxr-x 2 user root 104 May 10 16:04 .X11-unix
>
> Hence, deny any other user to start a window manager.
> /usr/openwin/bin/Xsun is replaced by this patch.
>

When the patch 107078-03 is installed, the X server's permissions is
changed to:

-rwxrwxr-x 1 root bin 949520 Feb 19 21:24 /usr/openwin/bin/Xsun

It must run as set group ID root

So, changed it to:

-rwxr-sr-x 1 root bin 949520 Feb 19 21:24 /usr/openwin/bin/Xsun
    ^^^^

Thanks to:
        Michael Pavlov <misha@cibc.com>
        Casper Dik <casper@holland.sun.com>

--antonio

------------------
Antonio Figueiredo
School of Electrical and www.dca.fee.unicamp.br/~antonio
Computer Engineering antonio@dca.fee.unicamp.br
State University of Campinas - Campinas, SP BRAZIL +55 19 788-3823
-------------------------------------------------------------------------
Visit http://www.revista.unicamp.br/revista/navegacao/index9.html



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:20 CDT