home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.admin:8549 comp.unix.admin:6317 comp.unix.programmer:5390 comp.unix.wizards:4831
- 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
- From: usmyrtle@mcs.drexel.edu (Steven Myrtle)
- Newsgroups: comp.sys.sun.admin,comp.unix.admin,comp.unix.programmer,comp.unix.wizards
- Subject: determining if anyone else is logged on
- Message-ID: <1992Nov21.210930.10348@mcs.drexel.edu>
- Date: 21 Nov 92 21:09:30 GMT
- Sender: usmyrtle@mcs.drexel.edu (Steven Myrtle)
- Organization: Drexel University
- Lines: 10
-
- What's the best way under SunOS 4.1.x to determine if anyone besides
- the owner of the console is logged onto the machine? Searching the
- utmp file? Searching the process table? (My program will be setuid
- root, so that is an option, although I would prefer a simpler
- solution.) Other suggestions are greatly welcomed?
-
- Please email me if possible.
-
- Thanks,
- Steven (usmyrtle@mcs.drexel.edu)
-