6 Oct
2021
6 Oct
'21
12:38
On 06/10/2021 14.21, Mathias Homann wrote: ...
or ... you could search with google for "dmesg only as root", and one of the first results will be a tutorial about how to make it that way.
In that tutorial you will find this:
"How do I restrict unprivileged access to kernel syslog?
Run the following sysctl command as root user: $ sudo sysctl -w kernel.dmesg_restrict=1"
so to have it the other way around all you do is set that sysctl value to 0. Thanks.
cer@minas-tirith:~> sysctl kernel.dmesg_restrict kernel.dmesg_restrict = 0 cer@minas-tirith:~> -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.2 x86_64 (Minas Tirith))