
                     Who -- A Novell people lister ala Unix

Who is a program similiar to `userlist`.  It displays who is logged on,
both their logon name and real name, time and date they logged on, and
if you set up a special file, the named computer that they logged on
from.

For example:
F:\>who
RTHOMAS   * Randy Thomas              Tue Oct  8  1:10 pm PRDPGM02
JDOE        John Doe                  Tue Oct  8  8:06 am PRDPGM01
MACHINE     Machine Shop              Fri Sep 21  0:51 am MACHIN01
ROSE        Charles Rose              Tue Oct  8  9:01 am PRODIR01
PRSUPVR     Pressroom Supervisor      Thu Oct  3  0:43 am PRSUPV01
PRMACH      Pressroom Machine Shop    Tue Oct  8  1:14 pm PRMACH01
GUEST       Guest User                Wed Oct  2  7:26 am BOB50Z

I found the easiest way to give each of the computers a unique name was
to create a file just like the Unix /etc/ethers file.  For Novell, I
placed this file in either SYS:ETC\ETHERS or SYS:PUBLIC\ETHERS.  Here is
an example of what it looks like:

#
# @(#)ethers
# Production Network
#
02:60:8C:40:6A:43       MACHIN01
00:00:C0:F7:F7:41       PRODIR01
#02:60:8C:40:A4:12       PRODIR02
02:60:8c:3b:df:86       PRDPGM01
#02:60:8C:3B:47:77       PRDPGM01
00:00:C0:37:F8:41       PRDPGM02
02:60:8C:60:13:5B       PRMACH01
02:60:8C:44:A4:48       PRSUPV01
02:60:8C:49:98:47       GatewayToMac
#
# Bob's network
#
02:60:8c:0e:16:02       BOB50Z
02:60:8c:01:62:8a       DELXT
02:60:8c:34:21:94       WILL386
02:60:8c:9a:62:02       TANDY

Just like in the standard /etc/ethers, # denotes a comment and each line
should have the ethernet number followed by the machine name.

Of course, source is provided.  It should compile as is with Microsoft
C/C++ 7.0.  Feedback is welcome, and improvements sent my way are much
appreciated.

Enjoy,

Randy Thomas
rthomas@ucrengr.ucr.edu
October 28, 1993


