3 ms·
> On linux, other users can see your command line (ps aux) On FreeBSD I like doing: /boot/loader.conf: mac_seeotheruids_load="YES" /etc/sysctl.conf: security
by Freaky 11y ago
> On linux, other users can see your command line (ps aux)
On FreeBSD I like doing:
/boot/loader.conf: mac_seeotheruids_load="YES"
/etc/sysctl.conf: security.mac.seeotheruids.enabled="1"
Which restricts users to seeing only their own processes. You can make exceptions for a specific group or users with the same primary group.
I still don't put anything sensitive in a command line, of course.
- istvan__ 11y agoYes FreeBSD got this one right.
- daurnimator 11y agoon linux you can mount procfs with the option 'hidepid' to similar effect.
- deleted 11y ago[deleted]