I’m running Debian. I want users to be unable to see my processes when they type ‘ps aux’. A web search wasn’t clear enough on how to do that, but it seems to be possible. How do I do that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are no simple ways, other than fancy things like tweaking the kernel code or the ps command code, or things like trying to use an innocent-looking name for the process. See:
https://superuser.com/questions/199044/is-it-possible-to-hide-a-process-from-the-listing-of-ps-or-top-on-linux
There are no questions of users or groups: everyone can see everyone’s processes.