jand@maestro.htsa.aha.nl (Jan Derriks) (06/07/89)
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 ? version: DYNIX(R) V3.0.14 Fri Jul 15 16:59:02 PDT 1988 Jan Derriks.
phil@sequent.UUCP (Phil Hochstetler) (06/08/89)
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