Presenting SUDO for DOS!

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!

https://codeberg.org/sjmulder/sudo.com

#RetroProgramming #CyberSecurity #DOS

@sjmulder very silly!
@cstross Perfect for agentic coding apps!
@sjmulder I'm glad it's written in assembler for high performance and low resource use.

@sjmulder

Well, that is more than a little unexpected.

Maybe do mail next?

@glc I was thinking LOADHIGH for Windows. It would load the given binary in extended memory and execute it
@sjmulder …and here I was thinking everything in DOS ran in ring 0 anyway.
@stuartl it does, but now you can be doubly sure. And it can be extended should a future DOS version add unprivileged users or age verification.

@sjmulder > If a file SUDOERS.SYS is present in the root directory of the boot drive, it is ignored.

excellent

@sjmulder ehm what? :D
I thought a single-user OS like DOS always runs with full privileges. Is this a two weeks too early april fool or am I missing some knowledge? :D

@freedosproject thought you'd be interested in this important DOS development by @sjmulder

πŸ˜†

@gumnos @sjmulder
That's awesome! A bit early for April 1st, but I like it πŸ˜‚

My favorite: β€œIf a file SUDOERS.SYS is present in the root directory of the boot drive, it is ignored” πŸ˜‰

@freedosproject @gumnos I'll save April 1st for my 21h "GET USER AGE BRACKET" function PR

@sjmulder I think this is great!

Now upgrade for support for this. Ew Windows NT 3 thing please!!!