From owner-freebsd-security@FreeBSD.ORG Sun Apr 20 18:02:17 2008 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CABFB106566C for ; Sun, 20 Apr 2008 18:02:17 +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 973508FC1B for ; Sun, 20 Apr 2008 18:02:17 +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 m3KIvSPu018775 for ; Sun, 20 Apr 2008 11:57:29 -0700 (PDT) (envelope-from hackware@tru2life.net) Received: (from hackware@localhost) by ns3.tru2life.net (8.13.6/8.13.6/Submit) id m3KIvSgB018774; Sun, 20 Apr 2008 11:57:28 -0700 (PDT) (envelope-from hackware@ns3.tru2life.net) From: "William O. Yates" To: freebsd-security@freebsd.org Cc: X-Originating-IP: 192.168.1.64 X-Mailer: Usermin 1.340 Message-Id: <1208717847.18770@ns3.tru2life.net> Date: Sun, 20 Apr 2008 11:57:27 -0700 (PDT) X-Mailman-Approved-At: Sun, 20 Apr 2008 18:45:39 +0000 Subject: vi secure X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "William O. Yates" List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2008 18:02:17 -0000 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...