Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2007 13:27:37 -0400
From:      Tom Grove <freebsd@voidmain.net>
To:        Ian Lord <mailing-lists@msdi.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Root access loggin
Message-ID:  <46A63689.80906@voidmain.net>
In-Reply-To: <050b01c7ce16$960a0570$6400a8c0@msdi.local>
References:  <050b01c7ce16$960a0570$6400a8c0@msdi.local>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 <command>

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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?46A63689.80906>