Finger

»  Home

» Software
» Papers & Training
» Java

Finger is a utility to find information about users on a machine. For remote machines, the finger daemon must be running on that machine to get information about its users. This distribution only includes the client portion.

This is wholly untested software! Use at your own risk.

Installation instructions

  • create a finger directory
  • cd to your finger directory
  • Download and byte transfer to your e3000 finger.tar.Z
  • Extract as: $uncompress finger.tar.Z; tar xvf finger.tar


Download, Compile, and Test run

  1. finger requires the libbsd package. It also requires privmode, cap=PM.
  2. Download the relative-path, compressed tar package.
  3. Upload the file to your HP3000 using either ftp or other binary transfer method.
  4. ftp> bin
    200 Type set to I.
    ftp> quote site posix on
    200 POSIX command ok.
    ftp> put finger.tar.Z
    200 PORT command ok.
    150 File: finger.tar.Z opened; data connection will be opened
    226 Transfer complete.
    ftp: 22517 bytes sent in 0.00Seconds 22517000.00Kbytes/sec.
    ftp>    
  5. Uncompress and extract
  6. /KEVENM/POSIX#ls -l fin*
    -rwxrwx---   1 MGR.KEVENM        KEVENM     22528 May 15 17:29 finger.tar.Z
    /KEVENM/POSIX#          
    /KEVENM/POSIX#uncompress fin*
    /KEVENM/POSIX#
    /KEVENM/POSIX#ls -l fin*
    -rwxrwx---   1 MGR.KEVENM        KEVENM     59398 May 15 17:29 finger.tar
    /KEVENM/POSIX#
    /KEVENM/POSIX#tar -xopf fin*
    tar: blocksize = 20
    /KEVENM/POSIX#
    /KEVENM/POSIX#cd finger
    /KEVENM/POSIX/finger#ls -l
    total 86
    -rw-r--r--   1 MGR.KEVENM        KEVENM      4960 Feb 28  2001 finger.1
    -rw-r--r--   1 MGR.KEVENM        KEVENM      6851 Feb 28  2001 finger.c
    -rw-r--r--   1 MGR.KEVENM        KEVENM      3578 Feb 28  2001 finger.h
    -rw-r--r--   1 MGR.KEVENM        KEVENM      7876 Feb 28  2001 lprint.c
    -rw-r--r--   1 MGR.KEVENM        KEVENM      1189 May 13 08:21 makebsd.inc
    -rw-r--r--   1 MGR.KEVENM        KEVENM       196 May 13 08:24 makefile
    -rw-r--r--   1 MGR.KEVENM        KEVENM      4468 Feb 28  2001 net.c
    -rw-r--r--   1 MGR.KEVENM        KEVENM      4832 Feb 28  2001 sprint.c
    -rw-r--r--   1 MGR.KEVENM        KEVENM      8041 Feb 28  2001 util.c
    /KEVENM/POSIX/finger#    
  7. Compile
  8. Note: if you have the GNU gmake installed, you must use the HP provided make.

    Note: the code is non-ANSI compliant; need to remove the "-Aa" switch from the MPE variable CCOPTS, if set.
    /KEVENM/POSIX/finger#make
    
       You must use  /bin/make  or /SYS/HPBIN/MAKE
    
    /KEVENM/POSIX/finger#/bin/make
    
    ** Removed [CCOPTS = -Aa +e +w1]
    
    c89 -c -O -D_MPEXL_SOURCE -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_PROTOTYPES -I/usr/
    include/bsd finger.c
    c89 -c -O -D_MPEXL_SOURCE -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_PROTOTYPES -I/usr/
    include/bsd lprint.c
    c89 -c -O -D_MPEXL_SOURCE -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_PROTOTYPES -I/usr/
    include/bsd net.c
    c89 -c -O -D_MPEXL_SOURCE -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_PROTOTYPES -I/usr/
    include/bsd sprint.c
    c89 -c -O -D_MPEXL_SOURCE -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_PROTOTYPES -I/usr/
    include/bsd util.c
    
    ** Restored [CCOPTS = -Aa +e +w1]
    
    c89 -o finger "-WL,cap=ph,pm,ia,ba" finger.o lprint.o net.o sprint.o util.o -lbs
    d -lsocket -lc
     
    /KEVENM/POSIX/finger#ls -l finger
    -rwxrwx---   1 MGR.KEVENM        KEVENM    204544 May 15 17:31 finger    
  9. Test run
  10. Note: Programs with PM or PH must be in an MPE group, not a sub-folder, in order to run.
    /KEVENM/POSIX/finger#./finger
     
    **** EXEC FUNCTION FAILED; subsys =517; info = 48 
    ABORT: /KEVENM/POSIX/finger/finger 
    NM SYS   a.00ab34a0 dbg_abort_trace+$24
    NM UNKN  1cc.00aa6140 
    NM UNKN  5cd.0004dfb4 
    [1] + Done(134) ./finger
      28311616      Abort   ./finger
    /KEVENM/POSIX/finger#
    /KEVENM/POSIX/finger#mv finger ../FINGER
    /KEVENM/POSIX/finger#
    /KEVENM/POSIX/finger#../FINGER
    No one logged on.
    /KEVENM/POSIX/finger#../FINGER MGR.KEVENM
    finger: MGR.KEVENM: no such user.
    /KEVENM/POSIX/finger#       
    /KEVENM/POSIX/finger#callci listf finger.posix,2
    ACCOUNT=  KEVENM      GROUP=  POSIX   
    
    FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----
                      SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX
    
    FINGER    NMPRG   128W  FB         799        799   1      800  3  *
    
    
    /KEVENM/POSIX/finger#callci finger
    No one logged on.
    /KEVENM/POSIX/finger#         

Top    JazzInfo    Hosted by 3kRanger.com    email 3kRanger    Updated