Date: Mon, 2 Jul 2001 11:19:04 -0500 From: Alfred Perlstein <bright@sneakerz.org> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: current@FreeBSD.org Subject: Re: TIOCSCTTY Message-ID: <20010702111904.O84523@sneakerz.org> In-Reply-To: <20010702185048.A21809@sunbay.com>; from ru@FreeBSD.org on Mon, Jul 02, 2001 at 06:50:48PM %2B0300 References: <20010702185048.A21809@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Ruslan Ermilov <ru@FreeBSD.org> [010702 10:51] wrote: > Hi! > > Could someone please explain why the following code snippet > does not work anymore with the "/dev/console" argument? > > # ./tiocsctty /dev/console > tiocsctty: ioctl(/dev/console, TIOCSCTTY): Operation not permitted I think LINT has an option to allow this. The reason, I think, is that you don't want non-root users to be able to grab the console output as it may allow them to obscure evil behavior. :) -- -Alfred Perlstein [alfred@freebsd.org] Ok, who wrote this damn function called '??'? And why do my programs keep crashing in it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010702111904.O84523>