$ dmesg
dmesg: read kernel buffer failed: Operation not permitted
$ sudo sysctl -w kernel.dmesg_restrict=0
$ dmesg
Created
December 31, 2019 18:14
-
-
Save daryltucker/c0f712a195718e99d39020891c50a01f to your computer and use it in GitHub Desktop.
Allow non-root User to access syslog/dmesg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want to make this change persistent, you need to edit /etc/sysctl.d/10-kernel-hardening.conf (on Ubuntu 22.10 at least)