3 ms·
If root's PATH environment variable can be compromised, then you might as well ditch the whole system.
by ciupicri 11y ago
If root's PATH environment variable can be compromised, then you might as well ditch the whole system.
- dredmorbius 11y agoIt may not be common practice (I typically rely on $PATH). But it is, as I noted, defensive. There are numerous ways in which $PATH can change. Shared profiles and other users modifying root's init among them. Intent isn't necessarily malicious. It can still be unexpected.
- rhinoceraptor 11y agoThere was a Steam script that had a nasty habit of running '# rm /*' due to an empty script variable.
- dredmorbius 11y agoI do not trust vendor scripts. Really fscking annoying: scripts that include inline binary data.