From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 17:27:58 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 0A8E116A41F for ; Tue, 24 Jul 2007 17:27:58 +0000 (UTC) (envelope-from freebsd@voidmain.net) Received: from tiltup.nepinc.com (tiltup.nepinc.com [66.207.136.20]) by mx1.freebsd.org (Postfix) with ESMTP id B8C8B13C4D0 for ; Tue, 24 Jul 2007 17:27:57 +0000 (UTC) (envelope-from freebsd@voidmain.net) Received: from haiti.nepinc.com (pgh.nepinc.com [66.207.129.50]) (authenticated bits=0) by tiltup.nepinc.com (8.13.8/8.13.4) with ESMTP id l6OHRnVj083097; Tue, 24 Jul 2007 13:27:56 -0400 (EDT) (envelope-from freebsd@voidmain.net) Message-ID: <46A63689.80906@voidmain.net> Date: Tue, 24 Jul 2007 13:27:37 -0400 From: Tom Grove User-Agent: Thunderbird 2.0.0.4 (X11/20070618) MIME-Version: 1.0 To: Ian Lord References: <050b01c7ce16$960a0570$6400a8c0@msdi.local> In-Reply-To: <050b01c7ce16$960a0570$6400a8c0@msdi.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Root access loggin 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, 24 Jul 2007 17:27:58 -0000 Ian Lord wrote: > Hi, > > > > A Zend technician asked me to have a root access on one of my box to > troubleshoot something wrong in Zend Platform installation that doesn't work > on Freebsd. > > > > He will need root access naturally to install and debug remotely. > > > > Is there a way to log all the commands he will type and send them in a > logfile ? > > > > Or is there a better solution than granting him root access from ssh ? > > > > Thanks > > > > _______________________________________________ > 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" > You could use sudo. Setup an account for him and give him sudo rights so that each time he would need root access to something he could use the command: $>sudo You could even go so far as to limit what he can use sudo on. $>man sudo Giving him full root access is probably not a good idea. -Tom