[ubuntu-hardened] dmesg restriction, not working?

Daniel Curtis sidetripping at gmail.com
Fri Aug 23 19:39:59 UTC 2013


Hi,

There is a interesting sysctl option to turn on dmesg
restriction[1]. Okay, but at the same time when e.g. I've
turning on this option by - let say - edit /etc/sysctl.conf
file and adding *kernel.dmesg_restrict = 1* value, normal
user still can view this file by clicking on it in /var/log/
directory.

Is it normal or it is a bug?

Best regards.
______________
[1] $ dmesg
dmesg: klogctl failed: Operation not permitted
$ cat /var/log/dmesg
(the entire dmesg contents...)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-hardened/attachments/20130823/77261f78/attachment.html>


More information about the ubuntu-hardened mailing list