🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #108

Re: Prohibiting Shell escapes from within NN

#108
From: Bill Daniels
Date: Mon, 19 Feb 1990 14:07
22 lines
1361 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.

>Trying to avoid some work...
>--
>Doug Eastick -- eastick@me.utoronto.ca


I have worked with this a little and found that specifying a short script
as the users shell in the passwd file keeps the user from using ! commands.
My script sets the TERM environment variable then calls nn.  Give it a try!

-- 
bill daniels
federal express, memphis, tn
{hplabs!csun,mit-eddie!premise}!fedeva!wrd3156
Technical Details
Message-ID: <13@fedeva.UUCP>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!zardoz.cpd.com!dhw68k!fedeva!bill
References: <1990Feb16.115156.29745@me.toronto.edu>

Show Full Headers
Complete Article Headers
Message-ID: <13@fedeva.UUCP>
Subject: Re: Prohibiting Shell escapes from within NN
Date: Mon, 19 Feb 1990 14:07:23 +0000
From: bill@fedeva.UUCP (Bill Daniels)
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!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!zardoz.cpd.com!dhw68k!fedeva!bill
Newsgroups: news.software.nn
Keywords: secure environment
Distribution: news
Organization: Federal Express Corp., Memphis, TN
Lines: 21