On 2017-10-28 at 15:58 +0200, Heiko Schlittermann via Exim-users wrote:
> So, what's the owner of the binary? And - does your OS provide some
> means to disallow set-uid binaries from setting the (e)uid (Linux has,
> but has your *BSD?)
Yes. FreeBSD supports nosuid mounts. With ZFS, it's even an
inheritable property on the dataset. In either case, just running
`mount` and looking for the mount-point where the binary lives should
reveal it.
Eg:
# mount | grep music
cast/media/music on /mnt/cast/media/music (zfs, local, noatime, noexec, nosuid, nfsv4acls)
# zfs get setuid cast/media/music
NAME PROPERTY VALUE SOURCE
cast/media/music setuid off inherited from cast/media
Hope this helps with debugging,
-Phil