home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / security / misc / 2236 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.8 KB  |  45 lines

  1. Newsgroups: comp.security.misc
  2. Path: sparky!uunet!usc!elroy.jpl.nasa.gov!lambda.msfc.nasa.gov!news
  3. From: palmer@Trade_Zone.msfc.nasa.gov (Paul (Cliffy) Palmer)
  4. Subject: Re: Hiding Unix processes?
  5. Message-ID: <1992Dec14.205108.15193@lambda.msfc.nasa.gov>
  6. Sender: news@lambda.msfc.nasa.gov (Newsmaster)
  7. Nntp-Posting-Host: isabella.msfc.nasa.gov
  8. Reply-To: palmer@Trade_Zone.msfc.nasa.gov
  9. Organization: New Technology, Inc.
  10. References: <1992Dec14.182651.13894@cc.ic.ac.uk>
  11. Date: Mon, 14 Dec 1992 20:51:08 GMT
  12. Lines: 31
  13.  
  14.  
  15. >In article <1g42e5INNoac@darkstar.UCSC.EDU>, speth@cats.ucsc.edu (James Gustave) writes:
  16. >
  17. >   Is there a way to mask all of your running processes, similar to what the
  18. > execl command can do for a single process?  I don't really like having
  19. > everyone be able to see what I'm doing all the time.
  20. >   I'm running SunOS Release 4.1.1, and I don't have root privs.
  21.  
  22. As a normal user, I have never run across a mechanism to do this in a
  23. fool proof manner.
  24.  
  25. However, on hosts where it was necessary to segregate users, I have
  26. removed the setuid bit from the ps (and pstat) programs, moved them
  27. aside and placed wrappers in their place.  These setuid wrappers would
  28. inspect their arguments and make sure they did not include any requests
  29. to see other user's processes.  Valid requests were then processed by
  30. invoking the original ps or pstat program.
  31.  
  32. This solution is simple, but less than ideal because some requests are
  33. difficult to verify (requests for processes by process-id or
  34. controlling terminal.)  The best solution was to modify the ps source
  35. code to perform the appropriate checking.
  36.  
  37. In summary, if you have the assistance of your system administrator,
  38. you have a couple of options.  If not, I would be interested in hearing
  39. anything that you come up with.
  40.  
  41. ----
  42.  
  43. Paul (Cliffy) Palmer
  44.  
  45.