Xref: utzoo news.groups:6213 news.sysadmin:1498 Path: utzoo!attcan!uunet!husc6!mailrus!cornell!rochester!pt.cs.cmu.edu!sei!pdb From: pdb@sei.cmu.edu (Patrick Barron) Newsgroups: news.groups,news.sysadmin Subject: Re: who, me? Keywords: security, virus, summer job Message-ID: <2975@ci.sei.cmu.edu> Date: 15 Nov 88 22:21:45 GMT References: <247@aplcen.apl.jhu.edu> Reply-To: pdb@sei.cmu.edu (Patrick Barron) Organization: Software Engineering Institute, Pittsburgh, PA Lines: 12 In article <247@aplcen.apl.jhu.edu> bright@aplcen.UUCP (Jonathan Bright) writes: >4) On berkeley unix, because of the ioctl(fd,TIOCSTI) having terminals >writable is a big bug (see man 4 tty for details). Mesg should >set world execute bit instead of world write bit to signal that the >person wants to receive messages, and then run as suid root (or some >variation of this). (God, posting this just killed me...) You can't necessarily TIOCSTI a terminal if you can write to it. TIOCSTI only works if 1) the terminal in question is your process's control terminal, or 2) you're root. --Pat.