Re: Fun with devices [was: Re: /dev/tcx0 crashes SunOS 4.1.4 on Sparc

Jonas Stahre (yes@LUDD.LUTH.SE)
Tue, 24 Jun 1997 09:40:15 +0200

On Mon, 23 Jun 1997, Tobias Walkowiak wrote:

> ever tried
>
> cp -p /vmunix /dev/audioctl
>
> under SunOS 4.1.3? panic, dump and reboot.

Then you will have to login and leave a nice entry in the log. It is
"better" to

rcp /etc/motd you@some.host:/dev/audio

Panic, dump and reboot. And noone know it was you. (Works with any file,
if you choose an au-file it will first play the sound and then crash. Lot
of room for creativeness here.)

Works on SunOS 4.1.4, and probably other versions too. Not on Solaris 5.5
though.

A good way to be "safer" from this is to chown /dev/audio to the user
thats logs in and chmod it to 600. But people will still be able to crash
their own workstations... But on the other hand they can pull the plug
aswell, so if they really want to stop them you have to lock your
workstations in one room and you users in another.

/Stahre

#!/usr/local/bin/perl --#Jonas Stahre, SysAdmin, student & bachelor.
$I=73;for($l=7;$l-3;$l=# Vanortsv. 9 ^.-.^ [ Eschew obfuscation. ]
-$l){print chr($I+=$l-=# 977 54 Lulea ( @ ) '
$l/abs($l))}print"!!!\n"# Sweden URL=http://www.ludd.luth.se/~yes/