Here's how to stop shell escapes from vi

Jeff Comstock vtcqa at shamash.cdc.com
Sun Sep 23 16:22:34 AEST 1990


In article <11285:Sep2022:15:2090 at kramden.acf.nyu.edu> brnstnd at kramden.acf.nyu.edu (Dan Bernstein) writes:
>X-Original-Subject: Protecting against downloads
>
>In article <1990Sep20.153105.28394 at naitc.naitc.com> karl at bbs.naitc.com (Karl Denninger) writes:
>> Without source code to "vi" there is NO WAY to prevent this.  Believe me.  
>
>How fatalistic.
>
>It's easy to prevent shell escapes from vi. All you have to do is make
>sure that the : and ! characters aren't accessible from command mode.

You gotta be kidding . What good is vi without : ?  Might as well not
even use it.  It's like giving your son your car, but not letting
him put gas in it.  Whoop de doo.       



More information about the Comp.unix.sysv386 mailing list