Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 ?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

There are several ways to achieve that.

The oldest I know would be using a kernel with grsecurty patches applied, which bring restrictions for procfs

Another one would be the PID namespace feature of cgroups.

And the latest one the hidepid feature of procfs.

When available, I'd go for the last one, as it is the least intrusive one.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.