How to prevent VI from getting a shell?

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Fri Sep 21 15:09:28 AEST 1990


In article <77 at raysnec.UUCP> shwake at 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



More information about the Comp.unix.questions mailing list