Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 1999 17:28:28 +0000
From:      Francis Jordan <frankrj@netscape.net>
To:        freebsd-stable@FreeBSD.ORG
Cc:        jkh@zippy.cdrom.com
Subject:   Re: Interesting ways to print 3000 spaces...
Message-ID:  <37CABF3C.7A30C7B4@netscape.net>
References:  <99Aug30.091841est.40333@border.alcanet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Jordan K. Hubbard" <jkh@zippy.cdrom.com> wrote:
>
> Um, has everyone here gone INSANE?


Well it seems that only root can crash the system that way, unless the
default permissions on /dev/vn0* are changed.

% ls -l /dev/vn*
brw-r-----  1 root  operator   15, 0x00010002 Dec 29  1998 /dev/vn0
brw-r-----  1 root  operator   15,   0 Dec 29  1998 /dev/vn0a
brw-r-----  1 root  operator   15,   1 Dec 29  1998 /dev/vn0b
brw-r-----  1 root  operator   15,   2 Dec 29  1998 /dev/vn0c
brw-r-----  1 root  operator   15,   3 Dec 29  1998 /dev/vn0d
brw-r-----  1 root  operator   15,   4 Dec 29  1998 /dev/vn0e
brw-r-----  1 root  operator   15,   5 Dec 29  1998 /dev/vn0f
brw-r-----  1 root  operator   15,   6 Dec 29  1998 /dev/vn0g
brw-r-----  1 root  operator   15,   7 Dec 29  1998 /dev/vn0h
brw-r-----  1 root  operator   15, 0x00020002 Dec 29  1998 /dev/vn0s1
brw-r-----  1 root  operator   15, 0x00030002 Dec 29  1998 /dev/vn0s2
brw-r-----  1 root  operator   15, 0x00040002 Dec 29  1998 /dev/vn0s3
brw-r-----  1 root  operator   15, 0x00050002 Dec 29  1998 /dev/vn0s4

But then if you're root, there are hundreds of other ways to crash the
system...

For example,

# vnconfig -c /dev/vn0a foo
# rm foo
# vnconfig -u /dev/vn0a
<KABOOM>

(This used to crash 3.1; might still work on -stable, unless fixed
recently.)

Frank


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37CABF3C.7A30C7B4>