re: dmesg now needs root permissions:
Originally Posted by
zika
True for kern.log but that does not make it right...
see this. And, actually the access rights for /var/log/kern.log are restricted.
Code:
doug@s18:~/temp-k-git/linux$ grep CONFIG_SECURITY_DMESG_RESTRICT .con*
.config:CONFIG_SECURITY_DMESG_RESTRICT=y
...
.config-5.8.0-050800rc1-lowlatency:# CONFIG_SECURITY_DMESG_RESTRICT is not set
.config-5.8.0-050800rc4-lowlatency:CONFIG_SECURITY_DMESG_RESTRICT=y
.config-5.8.0-050800rc5-lowlatency:CONFIG_SECURITY_DMESG_RESTRICT=y
.config-5.8-rc1-doug:# CONFIG_SECURITY_DMESG_RESTRICT is not set
...
and:
Code:
doug@s18:~/temp-k-git/linux$ ls -l /var/log/kern.log
-rw-r----- 1 syslog adm 1217129 Jul 15 15:20 /var/log/kern.log