On-premise resources, especially those running on aging servers are often moved to the cloud to experience the benefits of cloud computing. Other reasons could be to reduce running costs in the on-prem settings or to take advantage of cloud computing performance capabilities.
Further, going into the /proc directory will only show you process directories that belong to your user and no one else.
If you liked this thread, please retweet and like.
#linux#devops
Hiding Linux processes for other users - Thread
By default, if you were to run the ps -aux command, you will see a list of all running processes initiated by all users - normal, super, and system. This is an issue from a security POV.
Continued below 👇
by running the command:
mount -o remount ,rw,hidepid=2 /proc
/proc is now mounted to hide processes that do not belong to the user. If you now were to run the ps -aux command or the top command, you will only see processes owned by your user.
Don't stop 👇