[techtalk] Operator shell, sudo and others

Olivier Tharan olive at minet.net
Tue Oct 10 09:45:22 EST 2000


Le 09 octobre 2000, Vinnie écrivait :
> but requires finding a version of vi (or some other editor) that doesn't
> allow reading in of other files or shell escapes (rumour has it that
> berkeley vi has a secure option that does this...I'm going to play with

Vim has a '-Z' option enabling 'restricted mode':

-Z	Restricted mode.  All commands that make use of an
	external shell are disabled.  This includes suspending
	with CTRL-Z, ":sh", filtering, etc.

This option may also be available in other Vi flavors.

olive
-- 
Chewing gum on /dev/sd3c




More information about the Techtalk mailing list