From owner-freebsd-questions@FreeBSD.ORG Thu Nov 29 11:15:25 2007 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 EE68516A469 for ; Thu, 29 Nov 2007 11:15:25 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9ECD013C4E9 for ; Thu, 29 Nov 2007 11:15:22 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id lATBEeO4009047; Thu, 29 Nov 2007 12:14:40 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id lATBEYFC009044; Thu, 29 Nov 2007 12:14:38 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 29 Nov 2007 12:14:34 +0100 (CET) From: Wojciech Puchar To: Steve Bertrand In-Reply-To: <474E4CE1.6060809@ibctech.ca> Message-ID: <20071129121342.Y9040@wojtek.tensor.gdynia.pl> References: <200711290428.lAT4SOLd065598@banyan.cs.ait.ac.th> <474E4CE1.6060809@ibctech.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Olivier Nicole , freebsd-questions@freebsd.org Subject: Re: Secure remote shell 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: Thu, 29 Nov 2007 11:15:26 -0000 >> root, that could be automated in a script (no password required). > > - have information input into browser > - have web server save information to server disk in non-executable format > - have script (or admin) authenticate/authorize commands to be performed > (recommend doing this manually for a while to ensure you capture as many > escape type bugs as possible) > - have commands via another script scrubbed/cleaned/tested > - have cron perform commands at every X minutes the most secure compared to others. only few programs has to be checked for security this way. it's not dirty way i think