logoalt Hacker News

stale-labstoday at 2:06 PM1 replyview on HN

[flagged]


Replies

reliefcrewtoday at 3:08 PM

> The main practical win is that cmd args show up in `ps aux` for anyone on the system to see, whereas stdin keeps it off that list.

For those interested, re-mounting /proc with hidepid can prevent this:

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