🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #3096

How to prevent shelling out?

#3096
From: Francis Burton
Date: Fri, 18 Dec 1992 15:29
13 lines
929 bytes
I have a program which I would like to run as a module in a
self-instruction class.  This particular program allows shelling
out to DOS by running a second instance of COMMAND.COM (I think).
Although most students would not abuse this facility, I would feel
safer if it was not possible to do this.

Does anyone have any ideas how this could be achieved?

Setting COMSPEC to something other than COMMAND.COM stops shelling,
but it also hangs the system when the program quits!

Thanks in advance,
  Francis Burton
Technical Details
Message-ID: <1992Dec18.152918.6805@mnemosyne.cs.du.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!mnemosyne.cs.du.edu!nyx!fburton

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!mnemosyne.cs.du.edu!nyx!fburton
From: fburton@nyx.cs.du.edu (Francis Burton)
Subject: How to prevent shelling out?
Message-ID: <1992Dec18.152918.6805@mnemosyne.cs.du.edu>
Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
Organization: Nyx, Public Access Unix @ U. of Denver Math/CS dept.
Date: Fri, 18 Dec 92 15:29:18 GMT
Lines: 13