3 ms·
Stupid thought. Make alias called sdo that echoes sudo path and hash every time you use it to stderr. That's security by obscurity though.
by xlii 5mo ago
Stupid thought.
Make alias called sdo that echoes sudo path and hash every time you use it to stderr.
That's security by obscurity though.
- deleted 5mo ago[deleted]
- danudey 5mo agoI mean, this is basically why you press Ctrl-Alt-Del to log in on Windows NT and Win2k - because it's a keystroke that malware couldn't trap, so they can't put up a fake login screen because the OS will override it anyway.
- marshray 5mo agoThere was no hardware or other low-level magic associated with C-A-Del. Back in the NT days malware could totally intercept it, but it would have had to be in the kernel. Which was something of an improvement. Thank you, DoD Orange Book.