From owner-freebsd-questions@FreeBSD.ORG Tue Mar 13 00:15:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C4116106564A for ; Tue, 13 Mar 2012 00:15:12 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7AAE78FC18 for ; Tue, 13 Mar 2012 00:15:12 +0000 (UTC) Received: by ghrr20 with SMTP id r20so3824281ghr.13 for ; Mon, 12 Mar 2012 17:15:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=Rr7W4I4fTenEV3XVLeQk8Jbuk6YNSGcx2OVQOdcFzDw=; b=HRllNTsa6AA1lpsZbiLfpb+P9c/cns6mYtRcBZcB1kmjmXfVCZ3LEj/pJAGlza9Kbq lLDpGosSe0c+JSlqsjfKBDDtf/qrsR5q2VCd1OMZD2O3ij09kVdO7uNgZCvfmiMkIbyV RiNgztKOZ3EseBluI4Jji0XpxWdIT4Rs0ffNAk/jwWeOLr3iQVo9QTTPVeABHVktfPT2 Bm0QQB0yq2itwwWI8gQbHLwkYL/OEHmEWFPjHbendzBqBvkRh9HBR67hoLOi0MLkGjKy iyJIPbb9vpY8LjMAp98+Ia7V/EcmOwNP8+TQ3lV6/OSgVjbLYqIcnITeAldq/rytRyuR /iCw== MIME-Version: 1.0 Received: by 10.60.7.102 with SMTP id i6mr9703711oea.9.1331597711746; Mon, 12 Mar 2012 17:15:11 -0700 (PDT) Received: by 10.60.49.164 with HTTP; Mon, 12 Mar 2012 17:15:11 -0700 (PDT) In-Reply-To: References: <4F5E4C2A.1020005@tundraware.com> Date: Mon, 12 Mar 2012 17:15:11 -0700 Message-ID: From: Michael Sierchio To: David Brodbeck X-Gm-Message-State: ALoCoQlceCF5CVNOexRbh/laSla09wrD/HjrforDmoTVwDEjq/iMLbzGe4i9ElLMBiGKC7+PFEKa Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Tim Daneliuk , FreeBSD Mailing List Subject: Re: Editor With NO Shell Access? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2012 00:15:12 -0000 There are two edits to make to ex_shell.c in /usr/src/contrib/nvi/ex that will prevent a shell from being executed. 99,100c return (1); . 48,51c return (1); . On Mon, Mar 12, 2012 at 4:59 PM, David Brodbeck wrote: > On Mon, Mar 12, 2012 at 7:19 PM, Tim Daneliuk > wrote: > > I have a situation where I need to provide people with the ability to > edit > > files. However, under no circumstances do I want them to be able to exit > > to the shell. The client in question has strong (and unyielding) > InfoSec > > requirements in this regard. > > I vaguely recall that pico can be configured to work this way. Check > out /usr/ports/editors/pico-alpine. Sorry I can't give much more > help; it's been a very long time since I worked with that particular > editor. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >