Article View: comp.sys.next.misc
Article #3912Re: su File Viewer
From: Volker Herminghaus-Shirai
Date: Wed, 18 Nov 1992 20:57
Date: Wed, 18 Nov 1992 20:57
53 lines
2587 bytes
2587 bytes
In article <1992Nov17.001020.18066@athena.mit.edu> robert@amo.mit.edu(Robert Lutwak)
writes:
> In article <BxtDwG.4L7@mentor.cc.purdue.edu> ab@nova.cc.purdue.edu (Allen
> B) writes:
> > In article <BxLvqp.B5o@newcastle.ac.uk> S.A.McIntyre@durham.ac.uk
> writes:
> > >
> > > Is there any way of launching a FileViewer with setuid root privs?
> > >
> > > If it doesn't exist, maybe it should.
> >
> > It certainly should.
>
> O.K. I'm going to throw a little TNT onto this fire:
>
> Disclaimer: I am not responsible for anything you type into your machine.
>
> Try this (PLEASE do not do this as root):
>
> Type into a terminal window:
>
> /usr/lib/NextStep/Workspace.app/WM.app/WM -NXAutoLaunch YES &
>
> I clipped this from a "ps ax" and added the "&" so that I could keep my
> terminal window useful.
>
> This creates a new workspace on top of the old one (move it and see).
> Except for moving or copying from the old workspace to the new one,
> everything seems to work fine (you can still create multiple viewers,
> etc.).
>
> So far, I can get out of it by choosing "logout" from either WorkSpace's
> menu, which generates an error and logs you off ungracefully, or by doing
> a "kill PID" which generates an error and logs you off ungracefully.
> Neither is satisfactory.
>
> I checked the online docs with DL and found no mention of command-line
> arguments for WM. Maybe there's some argument which will make it exit
> gracefully when you hit logout without killing everything in sight.
>
> Maybe now that I've got people around the planet crashing their
> Workspaces, someone who really knows will pipe up. :-)
The next obvious thing to try would be to `kill -HUP <PID>` it.
I'm not going to do it, though (got same serious work to do).
--
Volker Herminghaus-Shirai (vhs@rhein-main.de)
Computer industry: Industry in which the number of units sold of any
given product is inversely proportional to its technical excellence.
See also: MS-DOS, Windows, IBM-PC, X, QWERTY,
80x86, TrueType, Survival of the shittest.
Technical Details
Message-ID:
<1992Nov18.205703.1597@qb.rhein-main.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!smurf.sub.org!incom!orfeo!qb!vhsReferences:
<1992Nov17.001020.18066@athena.mit.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.misc Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!smurf.sub.org!incom!orfeo!qb!vhs From: vhs@rhein-main.de (Volker Herminghaus-Shirai) Subject: Re: su File Viewer Message-ID: <1992Nov18.205703.1597@qb.rhein-main.de> Sender: vhs@qb.rhein-main.de (Volker Herminghaus-Shirai) Reply-To: vhs@rhein-main.de References: <1992Nov17.001020.18066@athena.mit.edu> Date: Wed, 18 Nov 92 20:57:03 GMT Lines: 53