FG
💻 Software

Is it possible to 'hide' a process from the listing of `ps` or `top` on Linux

Fresh5 days ago
Mar 15, 202632749 views
Confidence Score0%
0%

Problem

First, I presume that if this is possible it would need to be done as root (or as a user who shares root's UID of 0). How can a process be launched so that it does not show up in a or or listing if the command is run by non-root? Is this even possible? The distributions I typically run are RHEL/Cen…

Error Output

ps aux

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is it possible to 'hide' a process from the listing of `ps` or `top` on Linux

Low Risk

According to kernel patch http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=0499680a42141d86417a8fbaa8c8db806bea1201, you can use the hidepid option for the proc filesystem: hidepid=0 (default) means the old behavior - a…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment