home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sources / wanted / 4187 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  957 b 

  1. Path: sparky!uunet!melpar!suskind
  2. From: suskind@melpar.UUCP (Barry Suskind)
  3. Newsgroups: comp.sources.wanted
  4. Subject: how to obtain hostname of user connecting via network
  5. Message-ID: <262@melpar.UUCP>
  6. Date: 2 Sep 92 17:30:00 GMT
  7. Organization: E-Systems, Melpar Division, Falls Church, VA
  8. Lines: 18
  9.  
  10. On BSD based UNIX systems the "who" command or the "finger" command
  11. displays the node name of a user that has connected via the network.
  12. This is not the case on SYSTEM-V bases UNIX systems. A short investigation
  13. shows that in the file /usr/include/utmp.h on BSD systems has a structure 
  14. that includes this information while SYSTEM-V systems do not. 
  15.  
  16. Is there an easy way to obtain this? Does anyone have a System-V based user
  17. status command that would put this next to each user logged in?
  18.  
  19. thanks in advance
  20.  
  21. barry suskind
  22.  
  23. Email: uunet!melpar!suskind
  24. Phone: 703-560-5000x2348
  25. Company: E-Systems, Melpar Div., 7700 Arlington Blvd, Falls Church, VA 22046
  26.  
  27.  
  28.