[systemd-devel] How to prevent users form seeing other user processes with loginctl/systemctl ?

Tomasz Torcz tomek at pipebreaker.pl
Sun Jun 4 13:51:57 UTC 2023


On Sun, Jun 04, 2023 at 11:50:20AM +0200, antisimus wrote:
> Hello,
> 
> Is there a way to hide process information (pids, command line) and prevent
> one user accessing other user processes information.

  You can achieve that by mounting /proc with hidepid= option:
  https://docs.kernel.org/filesystems/proc.html#mount-options


-- 
Tomasz Torcz                                                       72->|   80->|
tomek at pipebreaker.pl                                               72->|   80->|



More information about the systemd-devel mailing list