[365] in SIPB_Linux_Development
write/writed for linux, also weirdness on quiche
daemon@ATHENA.MIT.EDU (Daniel J. Thumim)
Fri Jan 28 02:37:00 1994
To: linux-dev@MIT.EDU
Date: Fri, 28 Jan 1994 02:36:53 -0500
From: "Daniel J. Thumim" <dthumim@MIT.EDU>
I copied /usr/athena/bin/write from quiche to my system, and it works.
I copied /usr/athena/etc/writed, copied the "write" line from quiche's
/etc/inetd.conf into mine, made sure the right line was in /etc/services,
restarted inetd, and when someone tries to write to my machine the write
command just returns, no errors or anything. Netstat -a reports that
something is listening on the write port.
Now this:
~% hostname
quiche-lorraine
~% whoami
dthumim
~% tty
/dev/ttyp1
~% finger
No one logged on.
~% uptime
2:34am up 4:07, 0 users, load average: 0.05, 0.46, 0.30
~% w
2:34am up 4:07, 0 users, load average: 0.05, 0.46, 0.30
User tty login@ idle JCPU PCPU what
~% who
~% ls -l /etc/utmp
-rw-r--r-- 1 root root 784 Jan 28 02:06 /etc/utmp
~% last | head -3
nygren ttyp2 Fri Jan 28 02:05 - 02:06 (00:00)
nygren ttyp2 Fri Jan 28 01:36 - 01:40 (00:04)
dthumim ttyp1 Fri Jan 28 01:20 - 02:34 (still logged in)
Something strange is going on, I don't know what. On my linux system,
I do have utmp problems, but not of this nature... I have xterm screwing
up my utmp by putting bogus values for the from host and leaving entries
around after exiting, but it never deletes existing entries.
-- |)an