Re: vi secure



At 03:36 PM 4/20/2008, Jille wrote:
Ben Kaduk wrote:
On 4/20/08, William O. Yates <hackware@xxxxxxxxxxxx> 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."
Are you running vi as root? I believe that will automatically set secure mode.
-Ben Kaduk

On my FreeBSD 6.3 vi doesn't auto-enable secure mode when run as root.

-- Jille

Same for mine on 7.0

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
freebsd-security@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: vi secure
    ... When attempting to use one which accessed the external shell, ... command is not supported when the secure edit option is set." ... -Ben Kaduk ...
    (FreeBSD-Security)
  • vi secure
    ... command is not supported when the secure edit option is set." ... When attempting to "set nosecure" in my .exrc file, ... -S Run with the secure edit option set, ...
    (FreeBSD-Security)
  • vi secure
    ... command is not supported when the secure edit option is set." ... When attempting to "set nosecure" in my .exrc file, ... -S Run with the secure edit option set, ...
    (freebsd-questions)