deceptive mail

Henry Spencer henry at utzoo.UUCP
Wed Nov 14 06:39:03 AEST 1984


> It is even worse: if you are working at a terminal, somebody comes along
> and in order to show you something logs in recursively: (login x)
> then after his login process has finished your identity will be reported
> as x by programs like who and routines like getlogin().

This should not be a staggering surprise; the login operation is not
recursive, and trying to use it that way is obviously a disaster in the
making.  The correct approach to this particular problem is to fix login
to recognize, and reject, attempts at recursive logins.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry



More information about the Comp.unix.wizards mailing list