readthefuckingmanual.net

[SOLVED] klogctl: Operation not permitted

Error added: 2005-08-09T11:24:55Z

0 people waiting for the answer...

2 answers found.

Answer 7 (0.0% helpful)

I get this when I type dmesg as a user because I run GRSecurity, and have the "restrict klog" option chosen.
Permalink

Answer 1742 (0.0% helpful)

From  http://henrysnotes.org/?p=476

"So I added this to my rc.local file for future boots, and ran it manually as root for immediate effect and all is well.

echo 0 > /proc/sys/kernel/dmesg_restrict

Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: