home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!melpar!suskind
- From: suskind@melpar.UUCP (Barry Suskind)
- Newsgroups: comp.sources.wanted
- Subject: how to obtain hostname of user connecting via network
- Message-ID: <262@melpar.UUCP>
- Date: 2 Sep 92 17:30:00 GMT
- Organization: E-Systems, Melpar Division, Falls Church, VA
- Lines: 18
-
- On BSD based UNIX systems the "who" command or the "finger" command
- displays the node name of a user that has connected via the network.
- This is not the case on SYSTEM-V bases UNIX systems. A short investigation
- shows that in the file /usr/include/utmp.h on BSD systems has a structure
- that includes this information while SYSTEM-V systems do not.
-
- Is there an easy way to obtain this? Does anyone have a System-V based user
- status command that would put this next to each user logged in?
-
- thanks in advance
-
- barry suskind
-
- Email: uunet!melpar!suskind
- Phone: 703-560-5000x2348
- Company: E-Systems, Melpar Div., 7700 Arlington Blvd, Falls Church, VA 22046
-
-
-