🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lan
Article #779

Re: remote logins not showing up in 'w' command

#779
From: mwh
Date: Mon, 17 Jun 1985 13:07
48 lines
2294 bytes

>In article <bgsuvax.557> herber@bgsuvax.UUCP writes:
>>OK.... So here's the problem.  When I rlogin to the second VAX and do a
>>'w' or 'who' command, the user logged into the pseudo terminal from the
>>network does not show up in the list.  I can use the 'ps' command and see
>>the user's processes having a pty for a controlling terminal but the
>>/etc/utmp and /usr/adm/wtmp files are not being updated when the rlogin
>>occurs.  I have the same problem if I use the telnet software to make
>>a remote connection.
>
>You probably dont have the pseudo tty's as entries in the /etc/ttys
>file. That is, entries like: 
>
>                 02ttyp0
>                 02ttyp1
>                  .
>                  .
>                 02ttypf

>This is a suggestion based purely on experience without any reasoning
>on my part. 
>
>
>---------------------
>  Anders Bj|rnerstedt
>  Department of Information Processing & Computer Science
>  University of Stockholm
>  S-106 91  Stockholm
>  Sweden
>
>UUCP:	{seismo,decvax,philabs}!{mcvax,ukc,unido}!enea!suadb!anders

We were having the same problem and discovered that the pseudo tty's not only
need to be in the /etc/ttys file as above, but also in /etc/ttytype:

		network ttyq0
		network ttyq1
		network ttyq2
                  .
                  .
		network ttyqe
		network ttyqf
-- 
->	    Mark W. Harley,  GenRad Inc,  Production Test Division	    <-
->USmail:   Mail Stop 6, 300 Baker Ave, Concord, Mass.  01742		    <-
->usenet:   {decvax,linus,wjh12,mit-eddie,cbosgd,masscomp}!genrad!panda!mwh <-
->tel:	    (617) 369-4400 x2928					    <-
Technical Details
Message-ID: <775@teddy.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!genrad!grkermi!panda!teddy!mwh
References: <bgsuvax.557> <143@suadb.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/3/84; site teddy.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!genrad!grkermi!panda!teddy!mwh
From: mwh@teddy.UUCP
Newsgroups: net.lan,net.unix,net.unix-wizards
Subject: Re: remote logins not showing up in 'w' command
Message-ID: <775@teddy.UUCP>
Date: Mon, 17-Jun-85 09:07:51 EDT
Article-I.D.: teddy.775
Posted: Mon Jun 17 09:07:51 1985
Date-Received: Wed, 19-Jun-85 02:34:14 EDT
References: <bgsuvax.557> <143@suadb.UUCP>
Reply-To: mwh@teddy.UUCP (Mark W. Harley)
Organization: GenRad, Inc., Concord, Mass.
Lines: 48