Only root and users in the wheel group will be able to see any output with who(1) then.
But I don't know what the implications of this are. This could be a really bad idea...
You probably also want to set the sysctl security.bsd.see_other_uids=0, so that other users don't show in top or ps.
You didn't mention the use case for your system, however, you could just use jail(8)s to completely isolate the accounts if feasible. It may of course be overkill for your use case but just a thought anyway.
The use case is that I want users not to see the IP of other currently logged in users and give them as much privacy as possible. It's not really important, I am just curious how that would be done on a FreeBSD system, since I just recently switched from Linux and have no clue whatsoever what I am actually doing
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.