How to prevent VI from getting a shell?

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Fri Sep 21 14:58:14 AEST 1990


In article <1990Sep18.163019.14294 at eci386.uucp> jmm at eci386.UUCP (John Macdonald) writes:
> The only
> way to prevent shell access is to patch vi to prevent it.

This just isn't true. All you have to do is break the user's !, Q, and :
keys. This turns from a joke into an easy pipe if you have pty.

---Dan



More information about the Comp.unix.questions mailing list