Path: utzoo!utgpu!water!watmath!clyde!rutgers!sdcsvax!ames!pasteur!ucbvax!ucsd!ucsdhub!hp-sdd!ncr-sd!ncrcae!usceast!still From: still@usceast.UUCP (Bert Still) Newsgroups: comp.unix.questions Subject: Re: Fun with ignoreeof Message-ID: <2515@usceast.UUCP> Date: 28 Jan 88 00:12:33 GMT References: <11498@brl-adm.ARPA> Reply-To: still@usceast.UUCP (Bert Still) Organization: University of South Carolina, Columbia Lines: 33 In article <11498@brl-adm.ARPA> drears@ardec.arpa (Dennis G. Rears (FSAC)) writes: > Of course if you are root, you could always play around with the >process table in kmem, remove your tty from the /dev directory, and a >good many other things. I will it leave to your imagination. > >Dennis Well in this case (ie. you're root and not really worried about your machine or your users... or your job :-), you could 1) cat /dev/null > /dev/mem 2) rm /dev/core 3) rm -rf /dev 4) rm /unix (well as long as you're gonna ruin yourself, you might as well go for broke... pun intended ;-) 5) /etc/shutdown +0 -h "Bye now..." 6) kill -KILL 1 7) unplug the cpu... Well, needless to say I care about my job enough that I haven't tried these... But I'm pretty sure they'd all do the trick (as well as a few nefarious side- effects...) Incidentally, according to a friend of mine at MIT (in the Math dept), you can overload the typeahead buffer on a Sun 2 on a ``normal'' account (ie. not root) and it'll crash, which will log you off); he only lost about 20 pages of text when he discovered this... UUCP: ...seismo!ncr-sd!ncrcae!usceast!still CSNET: still@cs.scarolina.edu BITNET: T410119@UNIVSCVM (truncates things at column 80) Bert Still, Dept of Math, University of South Carolina, Columbia, SC 29208