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.
dylan-testing/common/sudo.js
0 → 100644
Please register or sign in to comment