From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100159,894bf09201aaf01a X-Google-Attributes: gid100159,public X-Google-Thread: f6653,894bf09201aaf01a X-Google-Attributes: gidf6653,public X-Google-Thread: 10872d,894bf09201aaf01a X-Google-Attributes: gid10872d,public X-Google-Thread: 114b0c,894bf09201aaf01a X-Google-Attributes: gid114b0c,public X-Google-Thread: 1070f0,894bf09201aaf01a X-Google-Attributes: gid1070f0,public X-Google-Thread: 1164f8,894bf09201aaf01a X-Google-Attributes: gid1164f8,public X-Google-Thread: 11035d,894bf09201aaf01a X-Google-Attributes: gid11035d,public X-Google-Thread: 10c665,894bf09201aaf01a X-Google-Attributes: gid10c665,public X-Google-ArrivalTime: 1993-06-08 15:36:21 PST Xref: gmd.de comp.sys.sgi.admin:1832 comp.sys.sgi.misc:2707 comp.sys.sun.admin:15342 comp.sys.sun.misc:8578 comp.sys.dec:8126 comp.sys.hp:18956 comp.unix.sys5.r4:3510 comp.unix.solaris:4323 Newsgroups: comp.sys.sgi.admin,comp.sys.sgi.misc,comp.sys.sun.admin,comp.sys.sun.misc,comp.sys.dec,comp.sys.hp,comp.unix.sys5.r4,comp.unix.solaris Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!ames!sgi!rhyolite.wpd.sgi.com!vjs From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver) Subject: Re: remote host help needed Message-ID: Organization: Silicon Graphics, Inc. Mountain View, CA References: <5355@cvbnetPrime.COM> Date: Tue, 8 Jun 1993 22:21:07 GMT In article <5355@cvbnetPrime.COM>, jbronfel@pacaya.prime.com (Jason Bronfeld) writes: > > I work in a heterogeneous, networked environment. I am looking for > a consistent way to determine, when connected to a machine other > than the one I am in front of, which machine I came from. It > seems that every platform can retrive this information, but each > one does it differently. > > In case I wasn't clear, if I'm sitting at machine A and rlogin into > machine B and then telnet into machine C, is there any way from machine > C to extract the fact that I connected from machine B? Similarly, from > B can I determine that I came from machine A? > > There are various ways on different platforms such as the who command > on Sun and HP or the REMOTEHOST variable on IRIX. But where is this > generic information stored? If you `touch /etc/x{u,w}tmp` on modern versions of IRIX, `who` will also say from where you came. The files change change names in IRIX 5.0. Vernon Schryver, vjs@sgi.com