From owner-freebsd-questions@FreeBSD.ORG Wed May 21 19:45:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD4851065683 for ; Wed, 21 May 2008 19:45:43 +0000 (UTC) (envelope-from hackware@tru2life.net) Received: from ns3.tru2life.net (adsl-69-232-26-38.dsl.snfc21.pacbell.net [69.232.26.38]) by mx1.freebsd.org (Postfix) with ESMTP id 964518FC16 for ; Wed, 21 May 2008 19:45:43 +0000 (UTC) (envelope-from hackware@tru2life.net) Received: from ns3.tru2life.net (localhost [127.0.0.1]) by ns3.tru2life.net (8.13.6/8.13.6) with ESMTP id m4LKp4sL043255 for ; Wed, 21 May 2008 13:51:05 -0700 (PDT) (envelope-from hackware@tru2life.net) Received: (from hackware@localhost) by ns3.tru2life.net (8.13.6/8.13.6/Submit) id m4LKp4nM043254; Wed, 21 May 2008 13:51:04 -0700 (PDT) (envelope-from hackware@ns3.tru2life.net) From: "William O. Yates" To: freebsd-questions@freebsd.org Cc: X-Originating-IP: 192.168.1.64 X-Mailer: Usermin 1.340 Message-Id: <1211403063.43250@ns3.tru2life.net> Date: Wed, 21 May 2008 13:51:03 -0700 (PDT) Subject: vi secure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "William O. Yates" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 19:45:43 -0000 [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...