dmesg
Hardening for Administrator Privileges
UEK 8U1 is built with the SECURITY_DMESG_RESTRICT flag enabled. Administrator privileges
are now required to run the dmesg
command when a system is running
UEK 8U1.
This update hardens the system against unrestricted access to sensitive information
about the system. Use the sudo
command to gain administrator
privileges when running dmesg
.
If you urgently need to disable this restriction, you can run sudo sysctl
kernel.dmesg_restrict=0
to temporarily disable the restriction. Or you can
add the configuration entry in a system configuration file in the
/etc/sysctl.d/
directory:
echo "kernel.dmesg_restrict = 0" | sudo tee /etc/sysctl.d/dmesg-restrict
sudo sysctl --system
Consider the security risk of disabling this restriction before doing so, and evaluate whether it might be better to resolve this requirement in another way.