How to prevent unprivileged users from viewing dmesg command output on Linux
Jun 11, 2017, 14:00 (0 Talkback[s])
(Other stories by Anonymous)
The kernel syslog contains debugging information that is often useful during exploitation of other vulnerabilities, such as kernel heap addresses. I want to restrict both normal users and root user inside LXD container ???hypervisor??? from viewing and using dmesg command output. How do I prevent non-root (unprivileged) Linux users from viewing the Linux kernel???s log buffer?