Created a wrapper around child_process.execFile() that runs a command as a...
Created a wrapper around child_process.execFile() that runs a command as a different user via (hopefully safe) sudo, while also sanity checking the parameters (eg. username) it feeds the sudo command. Further testing is needed, however.
Please register or sign in to comment