this post was submitted on 17 Mar 2026
26 points (86.1% liked)
retrocomputing
6233 readers
4 users here now
Discussions on vintage and retrocomputing
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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 16It legit forces the CPU out of protected mode and back into real mode, even and especially under a protected mode 32 bit OS.