Date: Mon, 17 Jul 2023 20:46:23 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272552] Fix /var/log/messages and /var/run/dmesg.boot permissions Message-ID: <bug-272552-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272552 Bug ID: 272552 Summary: Fix /var/log/messages and /var/run/dmesg.boot permissions Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: jlduran@gmail.com Created attachment 243439 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243439&action=edit Fix /var/log/messages and /var/run/dmesg.boot permissions If a regular user that does not belong to to the wheel group issues: % dmesg -a dmesg: sysctl kern.msgbuf: Operation not permitted However, a user may circumvent this restriction by either: % cat /var/log/messages Or % cat /var/run/dmesg.boot Set the proper permissions to both files. Fix relevant manual pages. Given that this has been the normal behavior since the beginning, maybe the fix should be the other way around? -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272552-227>
