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/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272552

--- 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 well?

-- 
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-3lRKpCkCty>