*BSD News Article 72253


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!samba.rahul.net!rahul.net!a2i!news.PBI.net!news.mathworks.com!newsfeed.internetmci.com!newsxfer2.itd.umich.edu!agate!reason.cdrom.com!usenet
From: "Jordan K. Hubbard" <jkh@FreeBSD.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Is watch(8) broken or am I?
Date: Fri, 28 Jun 1996 00:33:01 -0700
Organization: Walnut Creek CDROM
Lines: 14
Message-ID: <31D38AAD.2781E494@FreeBSD.org>
References: <4qp064$2hs@ender.techcenter.paccar.com>
NNTP-Posting-Host: time.cdrom.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b4 (X11; I; FreeBSD 2.2-CURRENT i386)
To: Arlen Fletcher <fletcher@techcenter.paccar.com>

Arlen Fletcher wrote:
> 
> I've tried running watch(8) as root using the following syntax:
> 
> watch -c /dev/ttyp0

Watch is a very dangerous utility (it lets you snoop on any tty/pty
device and even write on it when you use the -W flag), hence it needs to
be specially enabled with a `snp' device (well, it needs it to function
but the danger is why we don't enable it by default).  See
/sys/i386/conf/LINT for a prototype entry.
-- 
- Jordan Hubbard
  President, FreeBSD Project