Re: kernel ring buffer accessible by users

From: Grzegorz Jaskiewicz (gj@pointblue.com.pl)
Date: Tue Apr 22 2003 - 11:52:49 EST


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/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:33 EST