logoalt Hacker News

dieulottoday at 2:09 PM1 replyview on HN

The issue of rootless malicious command overrides is solved by typing the whole path, such as "/bin/sudo".


Replies

mathfailuretoday at 3:05 PM

No, don't do that as a precaution. As others have already answered correctly - it's too late to worry about such things if a malicious agent has write access to your ${HOME} dir.