home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / misc / 22119 < prev    next >
Encoding:
Text File  |  1992-11-18  |  2.5 KB  |  65 lines

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