3 ms·
Neither the command on the page, nor the script it downloads, use sudo (or su for that matter). Just invoking 'sh' really should not give you a root shell unde
by state_machine 15y ago
Neither the command on the page, nor the script it downloads, use sudo (or su for that matter).
Just invoking 'sh' really should not give you a root shell under normal circumstances.
You can try running 'echo "whoami" | sh | grep root' to verify this yourself.
- kcbanner 15y agoExactly, and many users install node into ~/local so root privileges are never needed.