🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sequent
Article #879

Re: why does who not show rlogin-users ?

#879
From: Phil Hochstetler
Date: Thu, 08 Jun 1989 16:53
46 lines
2123 bytes
In article <964@maestro.htsa.aha.nl> jand@maestro.htsa.aha.nl (Jan Derriks) writes:
| 
| Can anyone tell me why I'm not registered in /etc/utmp if I'm logged
| in from another system or use rlogin `hostname` ?
| On the Balance we have here, only 'real tty' users are shown with 'who'.
| The same goes for rwho, but rwho won't even show the users on other
| machines (though this may be an unrelated problem).
| 
| Some things don't work when I'm logged in via rsh or rlogin. Talk says
| 'you don't exist - go away' and  'write' sends: 'Message from ???? ....'.
| 
| Is this bug is a way of getting over the 32 user limit ?

Nope!

| version: DYNIX(R) V3.0.14  Fri Jul 15 16:59:02 PDT 1988
| Jan Derriks.

In my experience, this happens when the pseudo port you get
allocated by the rlogin daemon does not exist in the file "/etc/ttys".

All tty ports (hard wired lines or pseudo ports) should appear in the
file.  The pseudo ports should not have a '1' in the first column of
the file /etc/ttys because they don't really have gettys running on
them.  The reason login did not put you in utmp is because the libc
routine "ttyslot()" is failing to find an entry in "/etc/ttys" matching
your /dev/tty*.  The simple fix is to insure all hardwired lines and
pseudo ports appear in the file /etc/ttys.  Note that DYNIX 3.0 extends
the name space for pseudo ports to:

	/dev/tty[pqrstuvwPQRSTUVW][0-9a-zA-Z]

examples entries in /etc/ttys:

...
02ttyp0
02ttyp1
02ttyp2
...

BTW, When run "MAKEDEV pty0", you actually get 62 pseudo ports and need
to put all 62 ports in /etc/ttys.
-- 
Phil Hochstetler		UUCP:  uunet!sequent!phil
Sequent Computer Systems
Beaverton, Oregon
Technical Details
Message-ID: <17132@sequent.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr!tektronix!sequent!phil
References: <964@maestro.htsa.aha.nl>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr!tektronix!sequent!phil
From: phil@sequent.UUCP (Phil Hochstetler)
Newsgroups: comp.sys.sequent
Subject: Re: why does who not show rlogin-users ?
Keywords: rlogin who utmp
Message-ID: <17132@sequent.UUCP>
Date: 8 Jun 89 16:53:28 GMT
References: <964@maestro.htsa.aha.nl>
Reply-To: phil@crg2.UUCP (Phil Hochstetler)
Organization: Sequent Computer Systems, Inc
Lines: 46