Hardening /proc Hide Processes from other Users

From wiki.linuxonlinehelp.eu
Revision as of 00:22, 30 June 2017 by Author (talk | contribs) (Created page with "To prevent access to view Processes of other Users edit: <pre> $sudo nano /etc/fstab </pre> Insert: <pre> proc /proc proc defaults,hidepid=2,relatime 0 0 #re...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To prevent access to view Processes of other Users edit:

$sudo nano /etc/fstab

Insert:

proc    /proc    proc    defaults,hidepid=2,relatime     0     0  #relatime raspian

Run on console changes without reboot needed:

mount -o remount,rw,hidepid=2,relatime /proc

Test:

$top
$htop
$ps ax

Should only view own jobs