4 ms·
One issue with sudo curl is that it may end up your system in an unusuable (or unknown) state, even if the script you're fetching is not malicious, because your
by irishsultan 7y ago
One issue with sudo curl is that it may end up your system in an unusuable (or unknown) state, even if the script you're fetching is not malicious, because your connection can be interrupted and bash will start executing even before the script is fully downloaded.
- vbezhenar 7y agoIt won't happen for properly written script.
- Someone 7y agoIt is a lot less likely, but it can happen when you first download and then execute a script, too. Disk read errors may prevent running the entire script or the script may run out of memory, disk space, or other resource limit such as the maximum number of open files or the maximum length of a file path.