FreeBSD Prevent Users From Seeing Information About Processes Owned by Other Users

Posted on in Categories , , last updated June 3, 2009

Many commands accepts username and passwords on the command line and ps, top, sockstat and many commands can display this information to all users on the system. How do I prevent users from seeing information about processes that are being run under another UID to avoid information leakage under FreeBSD operating systems?