Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2007 13:28:39 -0400
From:      "John Fitzgerald" <jjfitzgerald@gmail.com>
To:        "Ian Lord" <mailing-lists@msdi.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Root access loggin
Message-ID:  <5e49673f0707241028nac3c3d8va28e1f9c8b617865@mail.gmail.com>
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
You can patch bash to log commands to syslog/remote/etc:

http://64.233.169.104/search?q=cache:y0SGTs8EoTYJ:www.linux.it/~carlo/somehacks/bup/bash-2.05b-syslog_udp01.patch+bash+perassi&hl=en&gl=us&strip=1

I set this up on a few machines and it's not too hard. You can also
run a cron job to see when/who is logged in (w + netstat, for
instance) and then send an email/text message, so he can't login and
get rid of the logger without you knowing it. Or for the more
elaborate setup:

http://www.honeynet.org/tools/sebek


On 7/24/07, Ian Lord <mailing-lists@msdi.ca> 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"
>



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?5e49673f0707241028nac3c3d8va28e1f9c8b617865>