Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!kramden.acf.nyu.edu!brnstnd From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: comp.unix.questions Subject: Re: How to prevent VI from getting a shell? Message-ID: <13934:Sep2105:09:2890@kramden.acf.nyu.edu> Date: 21 Sep 90 05:09:28 GMT References: <570@DIALix.UUCP> <1990Sep17.210110.26060@robobar.co.uk> <77@raysnec.UUCP> Organization: IR Lines: 9 In article <77@raysnec.UUCP> shwake@raysnec.UUCP (Ray Shwake) writes: > I suggest that, after predefining SHELL to something innocuous (I use > /bin/echo), patch the *set* reference in the binary to something with an > embedded space. So far, its proven quite tight. (Of course, if even THIS > leaves some obscure weakness, I'm sure someone will point it out to me!) The problem is that it completely prevents useful things like :set nu. ---Dan