Tiny bug in A/UX 1.0 finger

James J Dempsey jjd at bbn.com
Tue Jul 26 09:39:59 AEST 1988


[ Is this an appropriate place to send A/UX bug reports?  Perhaps
Apple should set up an A/UX bug report mailing list.  Perhaps
something like: "bug-aux at apple.apple.com" ]

There is a tiny bug in the A/UX 1.0 finger command.

When given a local user as an argument, it apparently fails to
discriminate between current and dead processes listed in /etc/utmp.

To reproduce:

Boot A/UX multiuser
Login (use your own login name, let's say it is "jjd")
Start toolboxdaemon
Start term (wait till prompt appears on "Terminal 1")
Quit term
finger jjd

The output of the finger command will list "jjd" as being logged in
twice -- once on the console and once on ttyp0 -- which was the
pseudo-terminal that term used (briefly). /bin/who doesn't list the
second user. Finger with no arguments doesn't list the second user.
If you take a look at the utmp file (using some C program), you will
see that the ut_type of the entry on ttyp0 is DEAD_PROCESS.

		--Jim Dempsey--
		BBN Communications
		jjd at bbn.com (ARPA Internet)
                ..!{decvax, harvard, wjh12, linus}!bbn!jjd



More information about the Comp.unix.aux mailing list