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

  1. Newsgroups: comp.sys.next.misc
  2. Path: sparky!uunet!snorkelwacker.mit.edu!bloom-picayune.mit.edu!news
  3. From: robert@amo.mit.edu(Robert Lutwak)
  4. Subject: Re: su File Viewer
  5. Message-ID: <1992Nov17.001020.18066@athena.mit.edu>
  6. Sender: news@athena.mit.edu (News system)
  7. Nntp-Posting-Host: argon.mit.edu
  8. Reply-To: robert@amo.mit.edu
  9. Organization: Massachvsetts Institvte of Technology
  10. References: <BxtDwG.4L7@mentor.cc.purdue.edu>
  11. Date: Tue, 17 Nov 1992 00:10:20 GMT
  12. Lines: 48
  13.  
  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. > It certainly should. 
  23.  
  24. O.K. I'm going to throw a little TNT onto this fire:
  25.  
  26. Disclaimer:  I am not responsible for anything you type into your machine.
  27.  
  28. Try this (PLEASE do not do this as root):
  29.  
  30. Type into a terminal window:
  31.  
  32. /usr/lib/NextStep/Workspace.app/WM.app/WM -NXAutoLaunch YES &
  33.  
  34. I clipped this from a "ps ax" and added the "&" so that I could keep my  
  35. terminal window useful.
  36.  
  37. This creates a new workspace on top of the old one (move it and see).
  38. Except for moving or copying from the old workspace to the new one,  
  39. everything seems to work fine (you can still create multiple viewers,  
  40. etc.).
  41.  
  42. So far, I can get out of it by choosing "logout" from either WorkSpace's  
  43. menu, which generates an error and logs you off ungracefully, or by doing  
  44. a "kill PID" which generates an error and logs you off ungracefully.
  45. Neither is satisfactory.
  46.  
  47. I checked the online docs with DL and found no mention of command-line  
  48. arguments for WM.  Maybe there's some argument which will make it exit  
  49. gracefully when you hit logout without killing everything in sight.
  50.  
  51. Maybe now that I've got people around the planet crashing their  
  52. Workspaces, someone who really knows will pipe up.  :-)
  53.  
  54. Anyone?
  55.  
  56.  
  57. ------------------------------------------------------------------------
  58. Robert Lutwak                                  robert@amo.mit.edu
  59. Atomic Resonance and Spectroscopy Laboratory
  60. MIT                                            Workspace Error 1000
  61.