User avatar
nixCraft 🐧 @nixCraft@mastodon.social
1y
Ever worried about other users on your Linux server seeing what processes are running? The hidepid kernel feature is your friend! It makes processes invisible to anyone but the owner and root user, even in system monitoring tools like ps, top, htop, and btop. This is a great way to prevent sensitive information (like API keys or passwords used in command-line arguments) from being exposed. See how to configure it www.cyberciti.biz/faq/linux-hide-processes-from-other-users/ for more info.

4
0
0
0
User avatar
surely bazkie 👩🏼‍💻 @bazkie@beige.party
1y
@nixCraft "other users on your Linux server" hold it right there ​:geordi_no:​
1
0
0
0
User avatar
nixCraft 🐧 @nixCraft@mastodon.social
1y
@bazkie other users can be services too, like Apache, run by the apache user. You don't want a compromised apache process user to access other running process information and get access something like API or password etc.
2
0
0
0
User avatar
🪨 @Varpie@peculiar.florist
1y
@nixCraft @bazkie If you're passing passwords as CLI arguments, you're doing something wrong in the first place.
⭐3
0
1
0
3