Michał Dec wrote:
>  > falling back to /C:\COMMAND.COM/
> 
> On FreeDOS, COMMAND.COM usually lives in C:\FreeDOS\BIN, but that can 
> also be determined from %PATH% (usually C:\FreeDOS\BIN) or %DOSDIR%\BIN 
> (also C:\FreeDOS\BIN). On Live media the system drive letter may be 
> different.

True, but normally %COMSPEC% is set, right? So C:\COMMAND.COM is really
meant as a last-ditch fallback.

> I'm a little puzzled what it can be used for, because FreeDOS doesn't 
> have the kind of privilege separation we're familiar with from Windows 
> NT and Linux

Yes, the whole thing is a little tongue-in-cheek joke, and I was hoping
the line about SUDOERS.SYS would give that away if it wasn't clear up
to that point :)

> Can you please tell us more?
> 
> Best regards,
> 
> Michał
> 
> W dniu 18.03.2026 o 10:54, Sijmen J. Mulder via Freedos-user pisze:
> > Hi all,
> >
> > Thought someone might get a chuckle out of this:
> >
> > https://codeberg.org/sjmulder/sudo.com
> >
> >> An implementation of sudo for DOS, to run the given command with full 
> >> privileges.
> > Was a good DOS and x86-16 learning experience though!
> >
> > -Sijmen
> >
> >
> > _______________________________________________
> > Freedos-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/freedos-user


_______________________________________________
Freedos-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to