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!

you are viewing a single comment's thread
view the rest of the comments
[–] [S] 2 points 8 months ago (1 child)

That's true! Since there is no privilege separation in DOS, it needs to do no elevation so it can just execute the command directly. But should a future version of DOS implement unprivileged users or age verification, SUDO can be extended to support it.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 8 months ago*

    Guess you never heard of 32 bit DOS that ticks underneath Windows 95 and 98.

    Read the ASM file, the literal first line is bits 16

    It legit forces the CPU out of protected mode and back into real mode, even and especially under a protected mode 32 bit OS.

  • source
  • parent