home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / vms / 18108 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.2 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!mhs.attmail.com!simons/G=Colin/I=CB/S=Sewell/O=H.A.Simons.Ltd/OU=CORP
  2. From: simons/G=Colin/I=CB/S=Sewell/O=H.A.Simons.Ltd/OU=CORP@mhs.attmail.com
  3. Newsgroups: comp.os.vms
  4. Subject: re: Location of Login question
  5. Message-ID: <9211171847.AA13952@ucbvax.Berkeley.EDU>
  6. Date: 17 Nov 92 17:13:01 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 21
  11.  
  12. |    Is there a way to determine if a user is logged in from a hardwire, or
  13. |    is dialing in from home?  If so how?  Does this depend if your system
  14. |    is set up to allow this, or is it an natural part of the VMS os?
  15.  
  16.  
  17.     The lexical function F$GETDVI(terminal-name,"TT_DIALUP")
  18.     will tell you whether a specific terminal is a dialup terminal.
  19.  
  20.     The lexical function F$GETJPI(pid,"JOBTYPE") returns the value
  21.     4 if the process is logged in over a dialup line. Other values
  22.     for possible JOBTYPE returns can be found in the $JPIDEF
  23.     macro in SYS$LIBRARY:STARLET.MLB.
  24.  
  25.     On a DECSERVER port attached to to a modem, you have to set the
  26.     DIALUP flag on the port so incoming logins will be flagged
  27.     as dialups.
  28.  
  29.                         colin sewell
  30.                         h.a.simons ltd.
  31.                         vancouver, bc
  32.  
  33.