home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / shell / 3887 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  1.1 KB

  1. Path: sparky!uunet!gatech!purdue!decwrl!pa.dec.com!eso.mc.xerox.com!leisner
  2. From: leisner@eso.mc.xerox.com (Marty Leisner 311/? x?)
  3. Newsgroups: comp.unix.shell
  4. Subject: attaching to a job
  5. Message-ID: <9209101633.AA01688@louvre.wbst147.xerox.com>
  6. Date: 10 Sep 92 16:33:49 GMT
  7. Reply-To: leisner.henr801c@xerox.com
  8. Organization: Xerox
  9. Lines: 18
  10.  
  11. X-        sunforum.all_areas%xerox.com@eso.mc.xerox.com
  12.  
  13.  
  14. I'm running a job which takes over the console and needs to run setuid root.
  15.  
  16. It has a hotkey so I can switch back and forth to the console (i.e. to run Xwindows).
  17.  
  18. After I run X, I can run the job again in foreground (via a fg command).
  19.  
  20. What I want to know is the application takes several minutes to boot up, I want to load it once at boot time
  21. and attach to it after I login...security isn't a concern (anyone at the console should be able to run it...)
  22.  
  23. How do I attach a shell to an arbitrary job and what do I have to do so anyone can attach to the job (instead 
  24. of root).
  25.  
  26. Marty    leisner.henr801c@xerox.com 
  27.           Member of the League for Programming Freedom 
  28.      Give me source or waste my time..
  29.