Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2008 13:51:03 -0700 (PDT)
From:      "William O. Yates" <hackware@tru2life.net>
To:        freebsd-questions@freebsd.org
Subject:   vi secure
Message-ID:  <1211403063.43250@ns3.tru2life.net>

next in thread | raw e-mail | index | archive | help
[sent the below message thru the freebsd-security list with no answers, hope for more from freebsd-questions]

Recently started using vi macros.

When attempting to use one which accessed the external shell, got the following message:

"The ! command is not supported when the secure edit option is set."

When attempting to ":set nosecure" got:

"set: the secure option may not be turned off."

When attempting to "set nosecure" in my .exrc file, got:

set nonumber
.exrc, 44: set: the secure option may not be turned off
.exrc, 44: Ex command failed: pending commands discarded

Looking through all the man pages, vi references, tutorials, and the the oreilly vi "bible",
can't find anything...

Is "set secure" a compiled in setting?

>From FreeBSD vi man page:

       -S     Run  with  the secure edit option set, disallowing all access to
	      external programs.
and
       secure [off]
	      Turns off all access to external programs.

..william.o.yates...hackware.at.tru2life.net...tru2life.info...




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1211403063.43250>