[comp.unix.ultrix] DECserver port number at login

fredv@rigel.acs.uci.edu (Fred Velijanian) (06/23/91)

Is there a way to find out which port of what
DECserver (LAT) a user is logged into on
Ultrix? For example if I use the "who" command,
it only shows the LAT terminal server's name,
but not the port number.

Thanks

Fred Velijanian
UC Irvine
fredv@uci.edu

weis@netmbx.UUCP (Dietmar Weis) (06/23/91)

fredv@rigel.acs.uci.edu (Fred Velijanian) writes:

>Is there a way to find out which port of what
>DECserver (LAT) a user is logged into on
>Ultrix?

lcp -p /dev/tty<what who gives> will tell you the stuff.


-- 
weis@netmbx.UUCP         | Dietmar Weis         DONOP CONSULT GmbH
Voice: 030/884 28 54-0   |                      Uhlandstrasse 179/180
Fax:   030/882 55 29     |                      D - 1000 Berlin 12

jarrell@vtserf.cc.vt.edu (Ron Jarrell) (06/24/91)

See which tty they're logged into, i.e. /dev/tty22, and
do a "/etc/lcp -p /dev/tty22".  It'll show you the port information
that's stored by the incoming connection request.
If they're connecting to an alternate service request on your system,
you'll see THAT for a portnumber instead.
-- 
Ron Jarrell
Virginia Tech Computing Center
jarrell@vtserf.cc.vt.edu