Re:Linux ransomware in the wild
by chrisfosterelli on Saturday October 21, 2017 @03:24PM
(#15523176)
Based on the sibling comment to yours, I don't think bash supports this. zsh allows you to make a \'sudo\' alias though, so it depends on your shell.
[ Parent
| on HN ]
At least in bash, quoting the command disables any alias. Maybe also in zsh?
Re:Linux ransomware in the wild
by chrisfosterelli on Saturday October 21, 2017 @03:54PM
(#15523323)
zsh seems to have much more flexible alias rules than bash:
> alias \'sudo\'='ls -a'
> 'sudo'
. ..