Path: utzoo!utgpu!cs.utexas.edu!swrinde!mips!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!stan!kucharsk From: kucharsk@solbourne.com (William Kucharski) Newsgroups: alt.hackers Subject: Re: TIOCSTI Message-ID: <1991May15.050257.5547@solbourne.com> Date: 15 May 91 05:02:57 GMT References: <1991May13.211622.1452@sbcs.sunysb.edu> Distribution: alt Organization: Solbourne Computer, Inc., Longmont, CO Lines: 14 Approved: who_me@solbourne.com In article <1991May13.211622.1452@sbcs.sunysb.edu> god@csserv2.ic.sunysb.edu (The Lord God your Creator) writes: > >The TIOCSTI ioctl lets you simulate keyboard input on other peoples terminals >while they're logged in as long as you have write perminssion for the tty >(mesg y). So you could write the string: "rm -r *\n" and it would be executed >if the user was in a shell. Whoever made this system call goofed. Actually the system call can be quite handy; the fact that it can be used by Joe User is somewhat more of a goof... -- | William Kucharski, Solbourne Computer, Inc. | Opinions expressed above | Internet: kucharsk@Solbourne.COM | are MINE alone, not those | uucp: ...!{boulder,sun,uunet}!stan!kucharsk | of Solbourne... | Snail Mail: 1900 Pike Road, Longmont, CO 80501 | "It's Night 9 With D2 Dave!"