Re: kernel ring buffer accessible by users

Grzegorz Jaskiewicz (gj@pointblue.com.pl)
22 Apr 2003 17:52:49 +0100


On Tue, 2003-04-22 at 17:44, Michael Buesch wrote:
> On Tuesday 22 April 2003 18:21, Julien Oster wrote:
> > it's been quite a while that I noticed that any ordinary user, not
> > just root, can type "dmesg" to see the kernel ring buffer.
>
> just make
> $ chmod 700 /bin/dmesg
and chmod 0600 /var/log/dmesg , as on some systems it is rw-r--r--

-- 
Grzegorz Jaskiewicz <gj@pointblue.com.pl>
K4 labs

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/