Article View: news.software.nn
Article #105Re: Prohibiting Shell escapes from within NN
From: Kim F. Storm
Date: Mon, 19 Feb 1990 08:33
Date: Mon, 19 Feb 1990 08:33
26 lines
1593 bytes
1593 bytes
eastick@me.utoronto.ca (Doug Eastick) writes: >Has anyone hacked NN to disallow shell escapes? If NN was to be used >in a BBS environment, it would be nice if you could stop people from >getting to the shell, vi, etc... >"#ifdef RESTRICT_SHELL" in the appropriate places would be nice. With 6.3.9 and later, there is a variable shell-restrictions which can ONLY be set in the init file. When set, it will prevent shell escapes, it will prevent modifying certain variables like mail-script and news-script (which would otherwise be a loop-hole), and it will prevent saving through pipes. But you will still have to do something about the EDITOR used when composing mail and news articles - nn can't help you there if it allows shell escapes. -- Kim F. Storm storm@texas.dk Tel +45 429 174 00 Texas Instruments, Marielundvej 46E, DK-2730 Herlev, Denmark No news is good news, but nn is better!
Technical Details
Message-ID:
<470@texas.dk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!dkuug!tidk!stormReferences:
<1990Feb16.115156.29745@me.toronto.edu>Show Full Headers
Complete Article Headers
Message-ID: <470@texas.dk> Subject: Re: Prohibiting Shell escapes from within NN Date: Mon, 19 Feb 1990 08:33:04 +0000 From: storm@texas.dk (Kim F. Storm) References: <1990Feb16.115156.29745@me.toronto.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!dkuug!tidk!storm Newsgroups: news.software.nn Keywords: secure environment Distribution: news Organization: Texas Instruments, Denmark Lines: 25