Here's how to stop shell escapes from vi

Peter da Silva peter at ficc.ferranti.com
Tue Oct 2 06:56:27 AEST 1990


ant at brolga.cc.uq.oz.au (Anthony Murdoch) writes:

> If you change SHELL to something and then make vi unreadable then surely that
> makes it secure enough for you (unless of course you don't want to allow root
> to have a shell ;-)

No, you change shell (not SHELL) to the same name as another variable that
gets found first in the search order (experiment to figure out what that
order is).
-- 
Peter da Silva.   `-_-'
+1 713 274 5180.   'U`
peter at ferranti.com



More information about the Comp.unix.sysv386 mailing list