How to prevent a user from checking list of processes started by another user ?
In other words, how do I forbid a user to see which processes are running by another user ?
There are several ways to achieve that.
Another one would be the PID namespace feature of
And the latest one the
hidepid feature of
When available, I'd go for the last one, as it is the least intrusive one.