Safe use of vi from sudo???

Todd C. Miller Todd.Miller at courtesan.com
Mon Apr 10 19:55:25 EDT 2000


In message <38F25543.BF52B83 at metro1.com>
	so spake Steve Bruno (steve.bruno):

> Is there any way for sudo and vi to safely coexist?  An alternate
> version of vi that does not allow escaping to a shell?

Well, nvi (new vi) has a 'secure' option that disables things like
shell escapes.  http://www.bostic.com/vi

I was fairly certain vim had a similar feature but I couldn't
find mention of it.

 - todd




More information about the sudo-users mailing list