- cross-posted to:
- programmer_humor@programming.dev
- cross-posted to:
- programmer_humor@programming.dev
An implementation of sudo for DOS, to run the given command with full privileges. It can be used to edit important system files, run disk partitioning tools, and so on!



If I’m understanding this correctly, it works for protected mode DOS, as in the DOS that Windows 95 and 98 run on top of.
In this case, this implementation of SUDO drops the CPU out of protected mode and runs whatever command in real mode, which is 16 bit 8086 compatible and limited to 1MB of RAM.
Unless I’m missing something here anyways…