home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sun / admin / 8549 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  999 b 

  1. Xref: sparky comp.sys.sun.admin:8549 comp.unix.admin:6317 comp.unix.programmer:5390 comp.unix.wizards:4831
  2. Path: sparky!uunet!spool.mu.edu!darwin.sura.net!jvnc.net!netnews.upenn.edu!netnews.noc.drexel.edu!king.mcs.drexel.edu!king.mcs.drexel.edu!usmyrtle
  3. From: usmyrtle@mcs.drexel.edu (Steven Myrtle)
  4. Newsgroups: comp.sys.sun.admin,comp.unix.admin,comp.unix.programmer,comp.unix.wizards
  5. Subject: determining if anyone else is logged on
  6. Message-ID: <1992Nov21.210930.10348@mcs.drexel.edu>
  7. Date: 21 Nov 92 21:09:30 GMT
  8. Sender: usmyrtle@mcs.drexel.edu (Steven Myrtle)
  9. Organization: Drexel University
  10. Lines: 10
  11.  
  12. What's the best way under SunOS 4.1.x to determine if anyone besides
  13. the owner of the console is logged onto the machine?  Searching the
  14. utmp file?  Searching the process table?  (My program will be setuid
  15. root, so that is an option, although I would prefer a simpler
  16. solution.)  Other suggestions are greatly welcomed?
  17.  
  18. Please email me if possible.
  19.  
  20. Thanks,
  21. Steven (usmyrtle@mcs.drexel.edu)
  22.