So I wanted to run a Node server on port 80 but I didn't want to run the entire process on root privileges, for security I thought this would be the best.
So I thought a good solution would be to use as root:
su - (myuser) -c 'node forever script to run'
However I get EACCESS errors but running the script directly as root is fine. I hear others doing the same and working for them so could it be that I am doing something different?
Is there a better strategy to do this, to open the port on root privileges and then drop the root privileges once the application is running?