[comp.os.vms] But WHICH terminal server are you using?

dugal@uriecl.UUCP (11/02/87)

	Does anyone have a program/procedure to determine which terminal
server a user is initiating a login from?  After they log into the system,
all LAT users have a terminal name with the form "_LTAnnn:".  I have some
security issues that require me to know where the user is logging in from.
Any help or hints would be greatly appreciated.
 
+---------------------------------------------------------------------------+
| David G. Dugal        University of R.I., Engineering Computer Laboratory |
| System Manager        306 Bliss Hall, Kingston, RI 02881  (401) 792-2488  |
|                                                                           |
|       Internet:       dugal%ecl1.SPAN@star.stanford.edu                   |
|       SPAN/HEPnet:    ECL1::DUGAL  -or-  6334::DUGAL                      |
|       UUCP:           allegra!rayssd!uriecl!dugal                         |
|       PSI:            PSI%31103210735::ECL1::DUGAL                        |
|       MCI Mail: 299-5584  Easylink: 62926791  TWX: 650-299-5584           |
|                                                                           |
|       "Logic is a small bird chirping in a meadow.                        |
|        Logic is a wreath of flowers ... that smell BAD."                  |
+---------------------------------------------------------------------------+

helen@uhccux.UUCP (Helen Rapozo) (11/09/87)

In article <8711021111449@uriecl.UUCP> dugal@uriecl.UUCP writes:
>
>	Does anyone have a program/procedure to determine which terminal
>server a user is initiating a login from?  After they log into the system,
>all LAT users have a terminal name with the form "_LTAnnn:".  I have some
>security issues that require me to know where the user is logging in from.
>Any help or hints would be greatly appreciated.
> 
You can do this:

1) Log on to an account that has OPER and CMNKRL (I think that's
way you do change kernal) priveledge.
2) At the $ run this program: RUN SYS$SYSTEM:LATCP (you can also
define it this way too: LCP :== $SYS$SYSTEM:LATCP)
3) The program will then respond by saying: LCP>
4) If you type in SHOW PORT LTAnnn: at the LCP> it will tell you which
server and the port on that server LTAnnn: is at.  If you just type in
SHOW PORT then all active ports are displayed.
5) To leave just type in EXIT.

wrsturm%Ins.MRC.AdhocNet.CA@UNCAEDU.BITNET (W R Sturm) (11/12/87)

>     Does anyone have a program/procedure to determine which terminal
> server a user is initiating a login from?  After they log into the system,
> all LAT users have a terminal name with the form "_LTAnnn:".  I have some
> security issues that require me to know where the user is logging in from.
> Any help or hints would be greatly appreciated.

        You can use the program LATCP to determine the SERVER and PORT number.
        LATCP requires CMKRNL.

        $ MC LATCP
        LCP> Show Port LTAnnnn:                 For an individual port

        This will only work while the device (LTAnnnn:) is still active.

        LCP> Show Port/Application              For all ports CREATEd
        LCP> Show Port/Interactive              For all ports with interactive
                                                users




---------------------------------------------
WRSturm%Stasis.MRC.AdhocNet.CA@UNCAEDU.BITNET
---------------------------------------------
Warren R. Sturm
Mount Royal College
Information Systems, Computer Operations
4825 Richard Road S.W.
Calgary, Alberta  CANADA
T3E 6K6
(403) 240-6485