Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2023 22:34:46 +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-3lRKpCkCty@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272552-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272552-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272552

--- Comment #2 from Yuri Pankov <yuripv@FreeBSD.org> ---
I don't think this is about user being in wheel and rather about
security.bsd.unprivileged_read_msgbuf set to 0?

$ sysctl security.bsd.unprivileged_read_msgbuf
security.bsd.unprivileged_read_msgbuf: 0
$ groups
staff wheel operator
$ dmesg
dmesg: sysctl kern.msgbuf: Operation not permitted

May be relevant option in the installer should apply the permissions as wel=
l?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272552-227-3lRKpCkCty>