Re: vi secure
- From: Derek Ragona <derek@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 20 Apr 2008 15:09:03 -0500
At 01:57 PM 4/20/2008, William O. Yates wrote:
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:
.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
Turns off all access to external programs.
So you are using ! for external commands and not the like :w!
I would look at any defaults on the system that may be causing vi to run in secure mode, also check the mounted filesystem you are on is set to noexec.
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
freebsd-security@xxxxxxxxxxx mailing list
To unsubscribe, send any mail to "freebsd-security-unsubscribe@xxxxxxxxxxx"
- vi secure
- From: William O. Yates
- vi secure
- Prev by Date: Re: vi secure
- Next by Date: Re: openssldoesn't -overwrite-base again (was: FreeBSD-SA-08:05.openssh)
- Previous by thread: Re: vi secure