What is a good way to audit the user accounts on a Linux machine? I will like to have a list of users, the folders they can access and the process they are running, so I can pinpoint security risks, like a nodejs express server running as root, or nginx running a root, or folders with permissions too open.
It will be very useful especially if you do not configure the server and you will like to have a fast panoramic of what's happening. I know there no single command that can do this, but I wonder if there is a list of things to check.